Trait Ord
pub trait Ord {
// Required methods
pub fn cmp(self, other: Self) -> Ordering;
}
Required methods
pub fn cmp(self, other: Self) -> Ordering
Implementors
impl Ord for ()
impl<A, B> Ord for (A, B)
impl<A, B, C> Ord for (A, B, C)
impl<A, B, C, D> Ord for (A, B, C, D)
impl<A, B, C, D, E> Ord for (A, B, C, D, E)
impl<T> Ord for Option<T>
where
T: Ord
where
T: Ord
impl<let N: u32, T> Ord for [T; N]
where
T: Ord
where
T: Ord
impl<T> Ord for [T]
where
T: Ord
where
T: Ord