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§

Required Methods§

source

fn is_equal(&self, other: &Rhs) -> Self::Output

Returns true if self and other are equal.

source

fn is_not_equal(&self, other: &Rhs) -> Self::Output

Returns true if self and other are not equal.

Implementors§

source§

impl<E> Equal for Boolean<E>
where E: Environment,

§

type Output = Boolean<E>

source§

impl<E> Equal for Field<E>
where E: Environment,

§

type Output = Boolean<E>

source§

impl<E> Equal for Scalar<E>
where E: Environment,

§

type Output = Boolean<E>

source§

impl<E: Environment, I: IntegerType> Equal for Integer<E, I>

§

type Output = Boolean<E>