#[repr(i32)]pub enum ModelSense {
Minimize = 1,
Maximize = -1,
}Expand description
Sense of objective function, aka direction of optimisation.
Variants§
Trait Implementations§
Source§impl Clone for ModelSense
impl Clone for ModelSense
Source§fn clone(&self) -> ModelSense
fn clone(&self) -> ModelSense
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 ModelSense
impl Debug for ModelSense
Source§impl ModelAttrGet<ModelSense> for ModelModelSenseAttr
impl ModelAttrGet<ModelSense> for ModelModelSenseAttr
Source§impl ModelAttrSet<ModelSense> for ModelModelSenseAttr
impl ModelAttrSet<ModelSense> for ModelModelSenseAttr
Source§impl TryFrom<i32> for ModelSense
impl TryFrom<i32> for ModelSense
impl Copy for ModelSense
Auto Trait Implementations§
impl Freeze for ModelSense
impl RefUnwindSafe for ModelSense
impl Send for ModelSense
impl Sync for ModelSense
impl Unpin for ModelSense
impl UnwindSafe for ModelSense
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