Trait typenum::marker_traits::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