Struct selinux_sys::security_class_mapping
source · #[repr(C)]pub struct security_class_mapping {
pub name: *const c_char,
pub perms: [*const c_char; 33],
}
Fields§
§name: *const c_char
§perms: [*const c_char; 33]
Trait Implementations§
source§impl Clone for security_class_mapping
impl Clone for security_class_mapping
source§fn clone(&self) -> security_class_mapping
fn clone(&self) -> security_class_mapping
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 security_class_mapping
impl Debug for security_class_mapping
source§impl Ord for security_class_mapping
impl Ord for security_class_mapping
source§fn cmp(&self, other: &security_class_mapping) -> Ordering
fn cmp(&self, other: &security_class_mapping) -> 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 security_class_mapping
impl PartialEq for security_class_mapping
source§fn eq(&self, other: &security_class_mapping) -> bool
fn eq(&self, other: &security_class_mapping) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for security_class_mapping
impl PartialOrd for security_class_mapping
source§fn partial_cmp(&self, other: &security_class_mapping) -> Option<Ordering>
fn partial_cmp(&self, other: &security_class_mapping) -> 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 security_class_mapping
impl Eq for security_class_mapping
impl StructuralPartialEq for security_class_mapping
Auto Trait Implementations§
impl Freeze for security_class_mapping
impl RefUnwindSafe for security_class_mapping
impl !Send for security_class_mapping
impl !Sync for security_class_mapping
impl Unpin for security_class_mapping
impl UnwindSafe for security_class_mapping
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