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

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

This trait should not be implemented for anything outside this crate.

Required methods

Implementors

Returns core::cmp::Ordering::Equal

Returns core::cmp::Ordering::Greater

Returns core::cmp::Ordering::Less