[][src]Enum mop_blocks::ObjDirection

pub enum ObjDirection {
    Max,
    Min,
}

Objective direction

Variants

Max

Maximization

Min

Minimization

Implementations

impl ObjDirection[src]

pub fn is_better<T>(self, a: &T, b: &T) -> Option<Ordering> where
    T: PartialOrd
[src]

Trait Implementations

impl Clone for ObjDirection[src]

impl Copy for ObjDirection[src]

impl Debug for ObjDirection[src]

impl Eq for ObjDirection[src]

impl Hash for ObjDirection[src]

impl PartialEq<ObjDirection> for ObjDirection[src]

impl StructuralEq for ObjDirection[src]

impl StructuralPartialEq for ObjDirection[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> TraitCfg for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.