pub struct Features(/* private fields */);Available on (32-bit and ARM, or 32-bit and little-endian and x86, or 64-bit and AArch64, or 64-bit and little-endian and x86-64) and (Android or Linux), or Linux and (32-bit and big-endian and PowerPC, or 32-bit and little-endian and RISC-V RV32, or 32-bit and little-endian and x86-64, or 32-bit and MIPS, or 64-bit and big-endian and s390x, or 64-bit and little-endian and LoongArch64, or 64-bit and little-endian and RISC-V RV64, or 64-bit and MIPS-64, or 64-bit and PowerPC64) only.
Implementations§
Source§impl Features
impl Features
pub const ESAN3: Self
pub const ZARCH: Self
pub const STFLE: Self
pub const MSA: Self
pub const LDISP: Self
pub const EIMM: Self
pub const DFP: Self
pub const HPAGE: Self
pub const ETF3EH: Self
pub const HIGH_GPRS: Self
pub const TE: Self
pub const VXRS: Self
pub const VXRS_BCD: Self
pub const VXRS_EXT: Self
pub const GS: Self
pub const VXRS_EXT2: Self
pub const VXRS_PDE: Self
pub const SORT: Self
pub const DFLT: Self
pub const VXRS_PDE2: Self
pub const NNPA: Self
pub const PCI_MIO: Self
pub const SIE: 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)
Trait Implementations§
Source§impl BitAndAssign for Features
impl BitAndAssign 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 for Features
impl BitOrAssign 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 moreimpl Copy for Features
impl Eq for Features
Source§impl Ord for Features
impl Ord for Features
1.21.0 (const: unstable) · 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 PartialOrd for Features
impl PartialOrd for Features
impl StructuralPartialEq for Features
Auto Trait Implementations§
impl Freeze for Features
impl RefUnwindSafe for Features
impl Send for Features
impl Sync for Features
impl Unpin for Features
impl UnsafeUnpin 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