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