Enum coin_cbc::raw::SOSConstraintType
source · #[repr(i32)]pub enum SOSConstraintType {
Type1,
Type2,
}
Expand description
The type of a special ordered set constraint
Variants§
Type1
type 1: at most one element in the given set of columns can be non-zero
Type2
type 2: at most two elements in the given set of columns can be non-zero. If two elements are non-zero, then they have to be consecutive.
Auto Trait Implementations§
impl RefUnwindSafe for SOSConstraintType
impl Send for SOSConstraintType
impl Sync for SOSConstraintType
impl Unpin for SOSConstraintType
impl UnwindSafe for SOSConstraintType
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