Struct selinux_sys::selinux_opt
source · #[repr(C)]pub struct selinux_opt {
pub type_: c_int,
pub value: *const c_char,
}
Fields§
§type_: c_int
§value: *const c_char
Trait Implementations§
source§impl Clone for selinux_opt
impl Clone for selinux_opt
source§fn clone(&self) -> selinux_opt
fn clone(&self) -> selinux_opt
Returns a copy 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 selinux_opt
impl Debug for selinux_opt
source§impl Ord for selinux_opt
impl Ord for selinux_opt
source§fn cmp(&self, other: &selinux_opt) -> Ordering
fn cmp(&self, other: &selinux_opt) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for selinux_opt
impl PartialEq for selinux_opt
source§fn eq(&self, other: &selinux_opt) -> bool
fn eq(&self, other: &selinux_opt) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for selinux_opt
impl PartialOrd for selinux_opt
source§fn partial_cmp(&self, other: &selinux_opt) -> Option<Ordering>
fn partial_cmp(&self, other: &selinux_opt) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for selinux_opt
impl Eq for selinux_opt
impl StructuralPartialEq for selinux_opt
Auto Trait Implementations§
impl Freeze for selinux_opt
impl RefUnwindSafe for selinux_opt
impl !Send for selinux_opt
impl !Sync for selinux_opt
impl Unpin for selinux_opt
impl UnwindSafe for selinux_opt
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