#[repr(u8)]pub enum ConstrSense {
Equal = 61,
Greater = 62,
Less = 60,
}Expand description
Sense for new linear/quadratic constraint
Variants§
Equal = 61
An equality constraint
Greater = 62
A greater-than constraint (left-hand side greater than or equal to right-hand side)
Less = 60
A less-than constraint (left-hand side less than or equal to right-hand side)
Trait Implementations§
Source§impl Clone for ConstrSense
impl Clone for ConstrSense
Source§fn clone(&self) -> ConstrSense
fn clone(&self) -> ConstrSense
Returns a duplicate of the value. Read more
1.0.0 · 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 ConstrSense
impl Debug for ConstrSense
Source§impl ObjAttrGet<Constr, ConstrSense> for ConstrSenseAttr
impl ObjAttrGet<Constr, ConstrSense> for ConstrSenseAttr
Source§impl ObjAttrSet<Constr, ConstrSense> for ConstrSenseAttr
impl ObjAttrSet<Constr, ConstrSense> for ConstrSenseAttr
Source§impl TryFrom<u8> for ConstrSense
impl TryFrom<u8> for ConstrSense
impl Copy for ConstrSense
Auto Trait Implementations§
impl Freeze for ConstrSense
impl RefUnwindSafe for ConstrSense
impl Send for ConstrSense
impl Sync for ConstrSense
impl Unpin for ConstrSense
impl UnwindSafe for ConstrSense
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