pub trait SolutionAggregate: Aggregate {
// Required method
fn contributes_to_solution(value: &Self, total: &Self) -> bool;
}Expand description
Aggregate value whose optimum identifies contributing solutions.
Required Methods§
Sourcefn contributes_to_solution(value: &Self, total: &Self) -> bool
fn contributes_to_solution(value: &Self, total: &Self) -> bool
Whether a solution-level value contributes to the final aggregate value.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".