#[non_exhaustive]pub enum ICmp {
Eq,
Lt,
Lts,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Ord for ICmp
impl Ord for ICmp
Source§impl PartialOrd for ICmp
impl PartialOrd for ICmp
impl Copy for ICmp
impl Eq for ICmp
impl StructuralPartialEq for ICmp
Auto Trait Implementations§
impl Freeze for ICmp
impl RefUnwindSafe for ICmp
impl Send for ICmp
impl Sync for ICmp
impl Unpin for ICmp
impl UnwindSafe for ICmp
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