Trait typenum::marker_traits::Ord[][src]

pub trait Ord: Sealed {
    fn to_ordering() -> Ordering;
}
Expand description

A Marker trait for the types Greater, Equal, and Less.

Required methods

Implementors

Returns core::cmp::Ordering::Equal

Returns core::cmp::Ordering::Greater

Returns core::cmp::Ordering::Less