pub enum Comparator {
Never,
Lt(u16),
Eq(u16),
Le(u16),
Gt(u16),
Ne(u16),
Ge(u16),
Always,
}Expand description
Predicate checking whether the current value is equal to the value.
Variants§
Never
Never breaks.
Lt(u16)
Break if the desired value is less than the provided value.
Eq(u16)
Break if the desired value is equal to the provided value.
Le(u16)
Break if the desired value is less than or equal to the provided value.
Gt(u16)
Break if the desired value is greater than the provided value.
Ne(u16)
Break if the desired value is not equal to the provided value.
Ge(u16)
Break if the desired value is greater than or equal to the provided value.
Always
Always breaks.
Implementations§
Trait Implementations§
source§impl Debug for Comparator
impl Debug for Comparator
source§impl Hash for Comparator
impl Hash for Comparator
source§impl PartialEq for Comparator
impl PartialEq for Comparator
impl Eq 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 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