[src]

Trait std::cmp::TotalOrd

pub trait TotalOrd: TotalEq + Ord {
    fn cmp(&self, other: &Self) -> Ordering;
}

Trait for types that form a total order

Required Methods

fn cmp(&self, other: &Self) -> Ordering

Implementors