Struct Ordering
pub struct Ordering
{ /* private fields */ }
Implementations
impl Ordering
Trait implementations
impl Eq for Ordering
pub fn eq(self, other: Self) -> bool
pub struct Ordering
{ /* private fields */ }
impl Orderingimpl Eq for Orderingpub fn eq(self, other: Self) -> bool
A value with three states:
Ordering::less(),Ordering::equal()orOrdering::greater(). Most often used to encode the result of a comparison operation.