aztec-nr - std::cmp

Struct Ordering

pub struct Ordering
{ /* private fields */ }

A value with three states: Ordering::less(), Ordering::equal() or Ordering::greater(). Most often used to encode the result of a comparison operation.

Implementations

impl Ordering

pub fn less() -> Self pub fn equal() -> Self pub fn greater() -> Self

Trait implementations

impl Eq for Ordering

pub fn eq(self, other: Self) -> bool