#[repr(u8)]pub enum AssertCmp {
Gt = 0,
Ge = 1,
Lt = 2,
Le = 3,
}Expand description
Comparison operator for numeric assertions.
Variants§
Gt = 0
Greater than.
Ge = 1
Greater than or equal to.
Lt = 2
Less than.
Le = 3
Less than or equal to.
Trait Implementations§
impl Copy for AssertCmp
impl Eq for AssertCmp
impl StructuralPartialEq for AssertCmp
Auto Trait Implementations§
impl Freeze for AssertCmp
impl RefUnwindSafe for AssertCmp
impl Send for AssertCmp
impl Sync for AssertCmp
impl Unpin for AssertCmp
impl UnsafeUnpin for AssertCmp
impl UnwindSafe for AssertCmp
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