pub fn min<T: PartialOrd>(x: T, y: T) -> T
Minimum of two values that implement the PartialOrd trait.
PartialOrd