pub struct ConstraintProgrammingOutput {
pub assignments: Vec<CpAssignment>,
pub feasible: bool,
pub objective_value: Option<i64>,
}Fields§
§assignments: Vec<CpAssignment>§feasible: bool§objective_value: Option<i64>Implementations§
Trait Implementations§
Source§impl Clone for ConstraintProgrammingOutput
impl Clone for ConstraintProgrammingOutput
Source§fn clone(&self) -> ConstraintProgrammingOutput
fn clone(&self) -> ConstraintProgrammingOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConstraintProgrammingOutput
impl Debug for ConstraintProgrammingOutput
Source§impl<'de> Deserialize<'de> for ConstraintProgrammingOutput
impl<'de> Deserialize<'de> for ConstraintProgrammingOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConstraintProgrammingOutput
impl RefUnwindSafe for ConstraintProgrammingOutput
impl Send for ConstraintProgrammingOutput
impl Sync for ConstraintProgrammingOutput
impl Unpin for ConstraintProgrammingOutput
impl UnsafeUnpin for ConstraintProgrammingOutput
impl UnwindSafe for ConstraintProgrammingOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more