Struct linux_syscalls::env::aux::Features2
source · #[repr(transparent)]pub struct Features2(_);Implementations§
source§impl Features2
impl Features2
sourcepub const RING3MWAIT: Self = _
pub const RING3MWAIT: Self = _
MONITOR/MWAIT enabled in Ring 3
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<Features2> for Features2
impl BitAndAssign<Features2> for Features2
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moresource§impl BitAndAssign<usize> for Features2
impl BitAndAssign<usize> for Features2
source§fn bitand_assign(&mut self, rhs: usize)
fn bitand_assign(&mut self, rhs: usize)
Performs the
&= operation. Read moresource§impl BitOrAssign<Features2> for Features2
impl BitOrAssign<Features2> for Features2
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moresource§impl BitOrAssign<usize> for Features2
impl BitOrAssign<usize> for Features2
source§fn bitor_assign(&mut self, rhs: usize)
fn bitor_assign(&mut self, rhs: usize)
Performs the
|= operation. Read moresource§impl Ord for Features2
impl Ord for Features2
source§impl PartialEq<Features2> for Features2
impl PartialEq<Features2> for Features2
source§impl PartialOrd<Features2> for Features2
impl PartialOrd<Features2> for Features2
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 Features2
impl Eq for Features2
impl StructuralEq for Features2
impl StructuralPartialEq for Features2
Auto Trait Implementations§
impl RefUnwindSafe for Features2
impl Send for Features2
impl Sync for Features2
impl Unpin for Features2
impl UnwindSafe for Features2
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