Function maths_rs::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)