Function radiant_rs::utils::min [] [src]

pub fn min<T>(a: T, b: T) -> T where
    T: PartialOrd

Returns the smaller of the two given values, ignoring edge-cases like NaN.