Function rin::math::partial_max [−][src]
pub fn partial_max<T>(a: &'a T, b: &'a T) -> Option<&'a T> where
T: PartialOrd<T>,
Return the maximum of a
and b
if they are comparable.
pub fn partial_max<T>(a: &'a T, b: &'a T) -> Option<&'a T> where
T: PartialOrd<T>,
Return the maximum of a
and b
if they are comparable.