pub enum Sense {
Minimize,
Maximize,
Ignore,
}
Expand description
Sense of optimization.
Variants§
Minimize
Objective must be minimized.
Maximize
Objective must be maximized.
Ignore
The objective is ignored, only searching for a feasible solution.
Trait Implementations§
source§impl PartialEq<Sense> for Sense
impl PartialEq<Sense> for Sense
impl Copy for Sense
impl Eq for Sense
impl StructuralEq for Sense
impl StructuralPartialEq for Sense
Auto Trait Implementations§
impl RefUnwindSafe for Sense
impl Send for Sense
impl Sync for Sense
impl Unpin for Sense
impl UnwindSafe for Sense
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