Struct good_lp::constraint::Constraint
source · pub struct Constraint { /* private fields */ }
Expand description
A constraint represents a single (in)equality that must hold in the solution.
Implementations§
Trait Implementations§
source§impl Debug for Constraint
impl Debug for Constraint
source§impl FormatWithVars for Constraint
impl FormatWithVars for Constraint
source§fn format_with<FUN>(
&self,
f: &mut Formatter<'_>,
variable_format: FUN
) -> Result
fn format_with<FUN>( &self, f: &mut Formatter<'_>, variable_format: FUN ) -> Result
Write the element to the formatter. See std::fmt::Display
source§fn format_debug(&self, f: &mut Formatter<'_>) -> Result
fn format_debug(&self, f: &mut Formatter<'_>) -> Result
Write the elements, naming the variables v0, v1, … vn
Auto Trait Implementations§
impl Freeze for Constraint
impl RefUnwindSafe for Constraint
impl Send for Constraint
impl Sync for Constraint
impl Unpin for Constraint
impl UnwindSafe for Constraint
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