pub struct ConstraintProgrammingInput {
pub variables: Vec<CpVariable>,
pub constraints: Vec<CpConstraint>,
pub objective: Option<CpObjective>,
}Fields§
§variables: Vec<CpVariable>§constraints: Vec<CpConstraint>§objective: Option<CpObjective>Implementations§
Trait Implementations§
Source§impl Clone for ConstraintProgrammingInput
impl Clone for ConstraintProgrammingInput
Source§fn clone(&self) -> ConstraintProgrammingInput
fn clone(&self) -> ConstraintProgrammingInput
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 ConstraintProgrammingInput
impl Debug for ConstraintProgrammingInput
Source§impl<'de> Deserialize<'de> for ConstraintProgrammingInput
impl<'de> Deserialize<'de> for ConstraintProgrammingInput
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 ConstraintProgrammingInput
impl RefUnwindSafe for ConstraintProgrammingInput
impl Send for ConstraintProgrammingInput
impl Sync for ConstraintProgrammingInput
impl Unpin for ConstraintProgrammingInput
impl UnsafeUnpin for ConstraintProgrammingInput
impl UnwindSafe for ConstraintProgrammingInput
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