#[repr(u8)]pub enum ComparisonOperator {
Less = 1,
Greater = 2,
NotEqual = 3,
Equal = 4,
LessOrEqual = 5,
GreaterOrEqual = 6,
}
Expand description
The possible comparison operators
Variants§
Trait Implementations§
Source§impl Clone for ComparisonOperator
impl Clone for ComparisonOperator
Source§fn clone(&self) -> ComparisonOperator
fn clone(&self) -> ComparisonOperator
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 ComparisonOperator
impl Debug for ComparisonOperator
Source§impl From<ComparisonOperator> for PyComparisonOp
impl From<ComparisonOperator> for PyComparisonOp
Source§fn from(op: ComparisonOperator) -> Self
fn from(op: ComparisonOperator) -> Self
Converts to this type from the input type.
Source§impl OpArgType for ComparisonOperator
impl OpArgType for ComparisonOperator
fn to_op_arg(self) -> u32
fn from_op_arg(x: u32) -> Option<ComparisonOperator>
Source§impl PartialEq for ComparisonOperator
impl PartialEq for ComparisonOperator
impl Copy for ComparisonOperator
impl Eq for ComparisonOperator
impl StructuralPartialEq for ComparisonOperator
Auto Trait Implementations§
impl Freeze for ComparisonOperator
impl RefUnwindSafe for ComparisonOperator
impl Send for ComparisonOperator
impl Sync for ComparisonOperator
impl Unpin for ComparisonOperator
impl UnwindSafe for ComparisonOperator
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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