Min

Trait Min 

Source
pub trait Min<T> {
    type Output;

    // Required method
    fn min(&self, other: T) -> Self::Output;
}
Expand description

Overload the Min trait.

Required Associated Types§

Source

type Output

Return type of Min

Required Methods§

Source

fn min(&self, other: T) -> Self::Output

Overloaded min function.

Implementations on Foreign Types§

Source§

impl<'v> Min<Variable<'v>> for f64

Source§

type Output = Variable<'v>

Source§

fn min(&self, rhs: Variable<'v>) -> <f64 as Min<Variable<'v>>>::Output

Implementors§

Source§

impl<'v> Min<f64> for Variable<'v>

Source§

impl<'v> Min<Variable<'v>> for Variable<'v>