Function rin_core::math::partial_cmp[][src]

pub fn partial_cmp<T>(a: &T, b: &T) -> Option<Ordering> where
    T: PartialOrd<T>, 

Compare a and b using a partial ordering relation.