Function rin::math::partial_min[][src]

pub fn partial_min<T>(a: &'a T, b: &'a T) -> Option<&'a T> where
    T: PartialOrd<T>, 

Return the minimum of a and b if they are comparable.