#[repr(C)]pub enum SCMP_COMPARE {
MIN = 0,
NE = 1,
LT = 2,
LE = 3,
EQ = 4,
GE = 5,
GT = 6,
MASKED_EQ = 7,
MAX = 8,
}Expand description
SCMP_CMP operators
Variants§
MIN = 0
NE = 1
LT = 2
not equal
LE = 3
less than
EQ = 4
less than or equal
GE = 5
equal
GT = 6
greater than or equal
MASKED_EQ = 7
greater than
MAX = 8
masked equality
Trait Implementations§
Source§impl Clone for SCMP_COMPARE
impl Clone for SCMP_COMPARE
Source§fn clone(&self) -> SCMP_COMPARE
fn clone(&self) -> SCMP_COMPARE
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SCMP_COMPARE
impl Debug for SCMP_COMPARE
impl Copy for SCMP_COMPARE
Auto Trait Implementations§
impl Freeze for SCMP_COMPARE
impl RefUnwindSafe for SCMP_COMPARE
impl Send for SCMP_COMPARE
impl Sync for SCMP_COMPARE
impl Unpin for SCMP_COMPARE
impl UnwindSafe for SCMP_COMPARE
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