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