min

Function min 

Source
pub fn min<T>(a: T, b: T) -> T
where T: Copy + PartialOrd,
Expand description

Return the minimum of two values.

  • a, b the values.

returns the minimum of two values.