pub enum CompOp {
Equal,
NotEqual,
StrictEqual,
StrictNotEqual,
GreaterThan,
GreaterThanOrEqual,
LessThan,
LessThanOrEqual,
}Expand description
A comparitive operation between 2 values
Variants
Equal
a == b - Equality
NotEqual
a != b - Unequality
StrictEqual
a === b - Strict equality
StrictNotEqual
a !== b - Strict unequality
GreaterThan
a > b - If a is greater than b
GreaterThanOrEqual
a >= b - If a is greater than or equal to b
LessThan
a < b - If a is less than b
LessThanOrEqual
a <= b - If a is less than or equal to b
Trait Implementations
sourceimpl Trace for CompOp
impl Trace for CompOp
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
impl StructuralPartialEq for CompOp
Auto Trait Implementations
impl RefUnwindSafe for CompOp
impl Send for CompOp
impl Sync for CompOp
impl Unpin for CompOp
impl UnwindSafe for CompOp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more