typenum::marker_traits

Trait Ord

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

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

Required Methods§

Object Safety§

This trait is not object safe.

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