#[non_exhaustive]
#[repr(i32)]
pub enum X86Feature {
Show 89 variants
Sce,
Mmx,
Sse,
Sse2,
Sse3,
Ssse3,
Sse4,
Sse4_1,
Sse4_2,
Avx,
Avx2,
Avx512f,
Avx512pf,
Avx512er,
Avx512cd,
Avx512vl,
Avx512bw,
Avx512dq,
Avx512ifma,
Avx512vbmi,
Sha,
Aes,
Pclmul,
ClFlushOpt,
Clwb,
FsGsBase,
Ptwrite,
Rdrand,
F16c,
Fma,
Pconfig,
Wbnoinvd,
Fma4,
Prfchw,
Rdpid,
PrefetchWt11,
Rdseed,
Sgx,
Xop,
Lwp,
M3dNow,
M3dNowA,
Popcnt,
Abm,
Adx,
Bmi,
Bmi2,
Lzcnt,
Fxsr,
XSave,
XSaveOpt,
XSaveC,
XSaveS,
Rtm,
Hle,
Tbm,
MWaitX,
ClZero,
Pku,
Avx512vbmi2,
Avx512bf16,
Avx512fp16,
Gfni,
Vaes,
WaitPkg,
VpclMulQdq,
Avx512BitAlg,
MovDirI,
MovDir64b,
Enqcmd,
Uintr,
Tsxldtrk,
Avx512VPopcntDq,
Avx512Vp2Intersect,
Avx5124Fmaps,
Avx512Vnni,
AvxVnni,
Avx5124VnniW,
ClDemote,
Serialize,
AmxTile,
AmxInt8,
AmxBf16,
HReset,
Kl,
WideKl,
X87,
Cx8,
Cx16,
}Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Sce
Mmx
Sse
Sse2
Sse3
Ssse3
Sse4
Sse4_1
Sse4_2
Avx
Avx2
Avx512f
Avx512pf
Avx512er
Avx512cd
Avx512vl
Avx512bw
Avx512dq
Avx512ifma
Avx512vbmi
Sha
Aes
Pclmul
ClFlushOpt
Clwb
FsGsBase
Ptwrite
Rdrand
F16c
Fma
Pconfig
Wbnoinvd
Fma4
Prfchw
Rdpid
PrefetchWt11
Rdseed
Sgx
Xop
Lwp
M3dNow
M3dNowA
Popcnt
Abm
Adx
Bmi
Bmi2
Lzcnt
Fxsr
XSave
XSaveOpt
XSaveC
XSaveS
Rtm
Hle
Tbm
MWaitX
ClZero
Pku
Avx512vbmi2
Avx512bf16
Avx512fp16
Gfni
Vaes
WaitPkg
VpclMulQdq
Avx512BitAlg
MovDirI
MovDir64b
Enqcmd
Uintr
Tsxldtrk
Avx512VPopcntDq
Avx512Vp2Intersect
Avx5124Fmaps
Avx512Vnni
AvxVnni
Avx5124VnniW
ClDemote
Serialize
AmxTile
AmxInt8
AmxBf16
HReset
Kl
WideKl
X87
Cx8
Cx16
Implementations
sourceimpl X86Feature
impl X86Feature
pub fn feature_name(&self) -> &'static str
Trait Implementations
sourceimpl Clone for X86Feature
impl Clone for X86Feature
sourcefn clone(&self) -> X86Feature
fn clone(&self) -> X86Feature
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for X86Feature
impl Debug for X86Feature
sourceimpl Display for X86Feature
impl Display for X86Feature
sourceimpl FromStr for X86Feature
impl FromStr for X86Feature
sourceimpl Hash for X86Feature
impl Hash for X86Feature
sourceimpl PartialEq<X86Feature> for X86Feature
impl PartialEq<X86Feature> for X86Feature
impl Copy for X86Feature
impl Eq for X86Feature
impl StructuralEq for X86Feature
impl StructuralPartialEq for X86Feature
Auto Trait Implementations
impl RefUnwindSafe for X86Feature
impl Send for X86Feature
impl Sync for X86Feature
impl Unpin for X86Feature
impl UnwindSafe for X86Feature
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more