Enum std::cmp::Ordering

pub enum Ordering {
    Less,
    Equal,
    Greater,
}

Trait Implementations

impl Clone for Ordering

fn clone(&self) -> Ordering

Returns a copy of the value. The contents of owned pointers are copied to maintain uniqueness, while the contents of managed pointers are not copied.

impl Eq for Ordering

fn eq(&self, __arg_0: &Ordering) -> bool

fn ne(&self, __arg_0: &Ordering) -> bool

impl TotalEq for Ordering

fn equals(&self, other: &Ordering) -> bool

impl TotalOrd for Ordering

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

impl Ord for Ordering

fn lt(&self, other: &Ordering) -> bool