pub trait Compare<Rhs = Self>where
    Rhs: ?Sized,
{ type Output; fn is_less_than(&self, other: &Rhs) -> Self::Output; fn is_greater_than(&self, other: &Rhs) -> Self::Output; fn is_less_than_or_equal(&self, other: &Rhs) -> Self::Output; fn is_greater_than_or_equal(&self, other: &Rhs) -> Self::Output; }
Expand description

Trait for comparator operations.

Required Associated Types§

Required Methods§

Returns true if self is less than other.

Returns true if self is greater than other.

Returns true if self is less than or equal to other.

Returns true if self is greater than or equal to other.

Trait Implementations§

Returns the number of constants, public inputs, private inputs, and constraints.
Returns the mode of the output.

Implementations on Foreign Types§

Returns true if self is less than other.

Returns true if self is greater than other.

Returns true if self is less than or equal to other.

Returns true if self is greater than or equal to other.

Returns true if self is less than other.

Returns true if self is greater than other.

Returns true if self is less than or equal to other.

Returns true if self is greater than or equal to other.

Returns true if self is less than other.

Returns true if self is greater than other.

Returns true if self is less than or equal to other.

Returns true if self is greater than or equal to other.

Returns true if self is less than other.

Returns true if self is greater than other.

Returns true if self is less than or equal to other.

Returns true if self is greater than or equal to other.

Implementors§