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

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

Required Methods§

Implementors§

source§

impl Ord for Equal

Returns core::cmp::Ordering::Equal

source§

impl Ord for Greater

Returns core::cmp::Ordering::Greater

source§

impl Ord for Less

Returns core::cmp::Ordering::Less