Skip to main content

min_max

Function min_max 

Source
pub fn min_max<T: Number, V: NumberOps<T> + Copy>(
    a: V,
    min_max: (V, V),
) -> (V, V)
Expand description

returns the tuple (min, max) of the value a and min_max tuple (min, max)