Function max

Source
pub fn max<T: PartialOrd>(x: T, y: T) -> T
Expand description

Maximum of two values that implement the PartialOrd trait.