Struct libseccomp_sys::scmp_arg_cmp
source · [−]#[repr(C)]pub struct scmp_arg_cmp {
pub arg: c_uint,
pub op: scmp_compare,
pub datum_a: scmp_datum_t,
pub datum_b: scmp_datum_t,
}
Expand description
Argument / Value comparison definition
Fields
arg: c_uint
argument number, starting at 0
op: scmp_compare
the comparison op, e.g. SCMP_CMP_*
datum_a: scmp_datum_t
datum_b: scmp_datum_t
Trait Implementations
sourceimpl Clone for scmp_arg_cmp
impl Clone for scmp_arg_cmp
sourcefn clone(&self) -> scmp_arg_cmp
fn clone(&self) -> scmp_arg_cmp
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for scmp_arg_cmp
impl Debug for scmp_arg_cmp
sourceimpl Hash for scmp_arg_cmp
impl Hash for scmp_arg_cmp
sourceimpl PartialEq<scmp_arg_cmp> for scmp_arg_cmp
impl PartialEq<scmp_arg_cmp> for scmp_arg_cmp
sourcefn eq(&self, other: &scmp_arg_cmp) -> bool
fn eq(&self, other: &scmp_arg_cmp) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &scmp_arg_cmp) -> bool
fn ne(&self, other: &scmp_arg_cmp) -> bool
This method tests for !=
.
impl Copy for scmp_arg_cmp
impl Eq for scmp_arg_cmp
impl StructuralEq for scmp_arg_cmp
impl StructuralPartialEq for scmp_arg_cmp
Auto Trait Implementations
impl RefUnwindSafe for scmp_arg_cmp
impl Send for scmp_arg_cmp
impl Sync for scmp_arg_cmp
impl Unpin for scmp_arg_cmp
impl UnwindSafe for scmp_arg_cmp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more