pub enum Comparator {
EQ,
NE,
LT,
LE,
GT,
GE,
}
Expand description
comparator ::=
=
| <>
| <
| <=
| >
| >=
Variants§
EQ
Equal (=
)
NE
Not equal (<>
)
LT
Less than (<
)
LE
Less than or equal (<=
)
GT
Greater than (>
)
GE
Greater than or equal (>=
)
Trait Implementations§
source§impl Clone for Comparator
impl Clone for Comparator
source§fn clone(&self) -> Comparator
fn clone(&self) -> Comparator
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 Comparator
impl Debug for Comparator
source§impl Display for Comparator
impl Display for Comparator
source§impl PartialEq<Comparator> for Comparator
impl PartialEq<Comparator> for Comparator
source§fn eq(&self, other: &Comparator) -> bool
fn eq(&self, other: &Comparator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Comparator
impl Eq for Comparator
impl StructuralEq for Comparator
impl StructuralPartialEq for Comparator
Auto Trait Implementations§
impl RefUnwindSafe for Comparator
impl Send for Comparator
impl Sync for Comparator
impl Unpin for Comparator
impl UnwindSafe for Comparator
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