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 FP: Self
pub const ASIMD: Self
pub const EVTSTRM: Self
pub const AES: Self
pub const PMULL: Self
pub const SHA1: Self
pub const SHA2: Self
pub const CRC32: Self
pub const ATOMICS: Self
pub const FPHP: Self
pub const ASIMDHP: Self
pub const CPUID: Self
pub const ASIMDRDM: Self
pub const JSCVT: Self
pub const FCMA: Self
pub const LRCPC: Self
pub const DCPOP: Self
pub const SHA3: Self
pub const SM3: Self
pub const SM4: Self
pub const ASIMDDP: Self
pub const SHA512: Self
pub const SVE: Self
pub const ASIMDFHM: Self
pub const DIT: Self
pub const USCAT: Self
pub const ILRCPC: Self
pub const FLAGM: Self
pub const SSBS: Self
pub const SB: Self
pub const PACA: Self
pub const PACG: 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