Function rin::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.
pub fn partial_cmp<T>(a: &T, b: &T) -> Option<Ordering> where
T: PartialOrd<T>,
Compare a
and b
using a partial ordering relation.