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