#[repr(C)]pub enum scmp_compare {
_SCMP_CMP_MIN = 0,
SCMP_CMP_NE = 1,
SCMP_CMP_LT = 2,
SCMP_CMP_LE = 3,
SCMP_CMP_EQ = 4,
SCMP_CMP_GE = 5,
SCMP_CMP_GT = 6,
SCMP_CMP_MASKED_EQ = 7,
_SCMP_CMP_MAX = 8,
}Expand description
Comparison operators
Variants§
_SCMP_CMP_MIN = 0
SCMP_CMP_NE = 1
SCMP_CMP_LT = 2
not equal
SCMP_CMP_LE = 3
less than
SCMP_CMP_EQ = 4
less than or equal
SCMP_CMP_GE = 5
equal
SCMP_CMP_GT = 6
greater than or equal
SCMP_CMP_MASKED_EQ = 7
greater than
_SCMP_CMP_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