Struct linux_syscalls::env::aux::Features
source · #[repr(transparent)]pub struct Features(_);Implementations§
source§impl Features
impl Features
pub const ISA_A: Self = _
pub const ISA_C: Self = _
pub const ISA_D: Self = _
pub const ISA_F: Self = _
pub const ISA_I: Self = _
pub const ISA_M: Self = _
pub const fn empty() -> Self
pub const fn all() -> Self
pub const fn from_bits(bits: usize) -> Self
pub const fn bits(&self) -> usize
pub const fn contains(&self, other: Self) -> bool
pub fn remove(&mut self, other: Self)
pub fn insert(&mut self, other: Self)
pub fn toggle(&mut self, other: Self)
Methods from Deref<Target = usize>§
pub const MIN: usize = 0usize
pub const MAX: usize = 18_446_744_073_709_551_615usize
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl BitAndAssign<Features> for Features
impl BitAndAssign<Features> for Features
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moresource§impl BitAndAssign<usize> for Features
impl BitAndAssign<usize> for Features
source§fn bitand_assign(&mut self, rhs: usize)
fn bitand_assign(&mut self, rhs: usize)
Performs the
&= operation. Read moresource§impl BitOrAssign<Features> for Features
impl BitOrAssign<Features> for Features
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moresource§impl BitOrAssign<usize> for Features
impl BitOrAssign<usize> for Features
source§fn bitor_assign(&mut self, rhs: usize)
fn bitor_assign(&mut self, rhs: usize)
Performs the
|= operation. Read moresource§impl Ord for Features
impl Ord for Features
source§impl PartialEq<Features> for Features
impl PartialEq<Features> for Features
source§impl PartialOrd<Features> for Features
impl PartialOrd<Features> for Features
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 Features
impl Eq for Features
impl StructuralEq for Features
impl StructuralPartialEq for Features
Auto Trait Implementations§
impl RefUnwindSafe for Features
impl Send for Features
impl Sync for Features
impl Unpin for Features
impl UnwindSafe for Features
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