Function rust_pathtracer::prelude::partial_min
source · pub fn partial_min<T, 'a>(a: &'a T, b: &'a T) -> Option<&'a T>where
T: PartialOrd<T>,Expand description
Return the minimum of a and b if they are comparable.
pub fn partial_min<T, 'a>(a: &'a T, b: &'a T) -> Option<&'a T>where
T: PartialOrd<T>,Return the minimum of a and b if they are comparable.