pub enum Comparator {
Less,
LessOrEqual,
Greater,
GreaterOrEqual,
Equal,
NotEqual,
}Expand description
Test between a value and a threshold.
Variants§
Less
Less than, written <.
LessOrEqual
Less than or equal to, written <=.
Greater
Greater than, written >.
GreaterOrEqual
Greater than or equal to, written >=.
Equal
Equal to, written ==.
NotEqual
Not equal to, written !=.
Implementations§
Trait Implementations§
Source§impl Clone for Comparator
impl Clone for Comparator
impl Copy for Comparator
Source§impl Debug for Comparator
impl Debug for Comparator
impl Eq for Comparator
Source§impl PartialEq for Comparator
impl PartialEq for Comparator
impl StructuralPartialEq for Comparator
Auto Trait Implementations§
impl Freeze for Comparator
impl RefUnwindSafe for Comparator
impl Send for Comparator
impl Sync for Comparator
impl Unpin for Comparator
impl UnsafeUnpin 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