pub trait Equal<Rhs = Self>where
    Rhs: ?Sized,{
    type Output;
    // Required methods
    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§
type Output
Required Methods§
fn is_not_equal(&self, other: &Rhs) -> Self::Output
fn is_not_equal(&self, other: &Rhs) -> Self::Output
Returns true if self and other are not equal.
Implementations on Foreign Types§
§impl<E, I> Equal<Integer<E, I>> for Integer<E, I>where
    E: Environment,
    I: IntegerType,
 
impl<E, I> Equal<Integer<E, I>> for Integer<E, I>where E: Environment, I: IntegerType,
§fn is_equal(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as Equal<Integer<E, I>>>::Output
 
fn is_equal( &self, other: &Integer<E, I> ) -> <Integer<E, I> as Equal<Integer<E, I>>>::Output
Returns true if self and other are equal.
§fn is_not_equal(
    &self,
    other: &Integer<E, I>
) -> <Integer<E, I> as Equal<Integer<E, I>>>::Output
 
fn is_not_equal( &self, other: &Integer<E, I> ) -> <Integer<E, I> as Equal<Integer<E, I>>>::Output
Returns true if self and other are not equal.