pub trait SolutionWeightsSolutionState {
// Required methods
fn get_solution_weights(&self) -> Option<&Vec<Float>>;
fn set_solution_weights(&mut self, value: Vec<Float>) -> &mut Self;
}
Expand description
Extends SolutionState within a new SolutionWeightsSolutionState.
Required Methods§
Sourcefn get_solution_weights(&self) -> Option<&Vec<Float>>
fn get_solution_weights(&self) -> Option<&Vec<Float>>
Gets SolutionWeights property.
Sourcefn set_solution_weights(&mut self, value: Vec<Float>) -> &mut Self
fn set_solution_weights(&mut self, value: Vec<Float>) -> &mut Self
Sets SolutionWeights property.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.