pub enum EqualityAndInequality {
StrictEqual,
StrictNotEqual,
Equal,
NotEqual,
GreaterThan,
LessThan,
LessThanOrEqual,
GreaterThanOrEqual,
}
Expand description
Not canonical / reducible form of CanonicalEqualityAndInequality
.
(for examples a > b
is equivalent to b < a
(after side effects) and a !== b
is equivalent to !(a === b)
)
Variants§
Trait Implementations§
source§impl Clone for EqualityAndInequality
impl Clone for EqualityAndInequality
source§fn clone(&self) -> EqualityAndInequality
fn clone(&self) -> EqualityAndInequality
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EqualityAndInequality
impl Debug for EqualityAndInequality
source§impl From<EqualityAndInequality> for PureBinaryOperation
impl From<EqualityAndInequality> for PureBinaryOperation
source§fn from(item: EqualityAndInequality) -> Self
fn from(item: EqualityAndInequality) -> Self
Converts to this type from the input type.
impl Copy for EqualityAndInequality
Auto Trait Implementations§
impl Freeze for EqualityAndInequality
impl RefUnwindSafe for EqualityAndInequality
impl Send for EqualityAndInequality
impl Sync for EqualityAndInequality
impl Unpin for EqualityAndInequality
impl UnwindSafe for EqualityAndInequality
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more