pub trait Equal<Rhs = Self> where
    Rhs: ?Sized
{ type Output; fn is_equal(&self, other: &Rhs) -> Self::Output; fn is_not_equal(&self, other: &Rhs) -> Self::Output; }
Expand description

Trait for equality comparisons.

Required Associated Types

Required Methods

Returns true if self and other are equal.

Returns true if self and other are not equal.

Trait Implementations

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

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

Returns the mode of the output.

Returns the mode of the output.

Implementations on Foreign Types

Returns true if self and other are equal.

Returns true if self and other are not equal.

Returns true if self and other are equal.

Returns true if self and other are not equal.

Returns true if self and other are equal.

Returns true if self and other are not equal.

Returns true if self and other are equal.

Returns true if self and other are not equal.

Returns true if self and other are equal.

Returns true if self and other are not equal.

Returns true if self and other are equal.

Returns true if self and other are not equal.

Returns true if self and other are equal.

Returns true if self and other are not equal.

Returns true if self and other are equal.

Returns true if self and other are not equal.

Returns true if self and other are equal.

Note: This method does not check the nonce equality.

Returns true if self and other are not equal.

Note: This method does not check the nonce equality.

Returns true if self and other are equal.

Returns true if self and other are not equal.

Returns true if self and other are equal.

Returns true if self and other are not equal.

Returns true if self and other are equal.

Returns true if self and other are not equal.

Returns true if self and other are equal.

Returns true if self and other are not equal.

Returns true if self and other are equal.

Returns true if self and other are not equal.

Returns true if self and other are equal.

Returns true if self and other are not equal.

Returns true if self and other are equal.

Returns true if self and other are not equal.

Implementors