#[non_exhaustive]#[repr(i32)]pub enum X86Feature {
Show 93 variants
Sce = 0,
Mmx = 1,
Sse = 2,
Sse2 = 3,
Sse3 = 4,
Ssse3 = 5,
Sse4 = 6,
Sse4_1 = 7,
Sse4_2 = 8,
Avx = 9,
Avx2 = 10,
Avx512f = 11,
Avx512pf = 12,
Avx512er = 13,
Avx512cd = 14,
Avx512vl = 15,
Avx512bw = 16,
Avx512dq = 17,
Avx512ifma = 18,
Avx512vbmi = 19,
Sha = 20,
Aes = 21,
Pclmul = 22,
ClFlushOpt = 23,
Clwb = 24,
FsGsBase = 25,
Ptwrite = 26,
Rdrand = 27,
F16c = 28,
Fma = 29,
Pconfig = 30,
Wbnoinvd = 31,
Fma4 = 32,
Prfchw = 33,
Rdpid = 34,
PrefetchWt11 = 35,
Rdseed = 36,
Sgx = 37,
Xop = 38,
Lwp = 39,
M3dNow = 40,
M3dNowA = 41,
Popcnt = 42,
Abm = 43,
Adx = 44,
Bmi = 45,
Bmi2 = 46,
Lzcnt = 47,
Fxsr = 48,
XSave = 49,
XSaveOpt = 50,
XSaveC = 51,
XSaveS = 52,
Rtm = 53,
Hle = 54,
Tbm = 55,
MWaitX = 56,
ClZero = 57,
Pku = 58,
Avx512vbmi2 = 59,
Avx512bf16 = 60,
Avx512fp16 = 61,
Gfni = 62,
Vaes = 63,
WaitPkg = 64,
VpclMulQdq = 65,
Avx512BitAlg = 66,
MovDirI = 67,
MovDir64b = 68,
Enqcmd = 69,
Uintr = 70,
Tsxldtrk = 71,
Avx512VPopcntDq = 72,
Avx512Vp2Intersect = 73,
Avx5124Fmaps = 74,
Avx512Vnni = 75,
AvxVnni = 76,
Avx5124VnniW = 77,
ClDemote = 78,
Serialize = 79,
AmxTile = 80,
AmxInt8 = 81,
AmxBf16 = 82,
HReset = 83,
Kl = 84,
WideKl = 85,
X87 = 86,
Cx8 = 87,
Cx16 = 88,
Sahf = 89,
MovBe = 90,
Adcx = 91,
PrefecthW = 92,
}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 = 0
Mmx = 1
Sse = 2
Sse2 = 3
Sse3 = 4
Ssse3 = 5
Sse4 = 6
Sse4_1 = 7
Sse4_2 = 8
Avx = 9
Avx2 = 10
Avx512f = 11
Avx512pf = 12
Avx512er = 13
Avx512cd = 14
Avx512vl = 15
Avx512bw = 16
Avx512dq = 17
Avx512ifma = 18
Avx512vbmi = 19
Sha = 20
Aes = 21
Pclmul = 22
ClFlushOpt = 23
Clwb = 24
FsGsBase = 25
Ptwrite = 26
Rdrand = 27
F16c = 28
Fma = 29
Pconfig = 30
Wbnoinvd = 31
Fma4 = 32
Prfchw = 33
Rdpid = 34
PrefetchWt11 = 35
Rdseed = 36
Sgx = 37
Xop = 38
Lwp = 39
M3dNow = 40
M3dNowA = 41
Popcnt = 42
Abm = 43
Adx = 44
Bmi = 45
Bmi2 = 46
Lzcnt = 47
Fxsr = 48
XSave = 49
XSaveOpt = 50
XSaveC = 51
XSaveS = 52
Rtm = 53
Hle = 54
Tbm = 55
MWaitX = 56
ClZero = 57
Pku = 58
Avx512vbmi2 = 59
Avx512bf16 = 60
Avx512fp16 = 61
Gfni = 62
Vaes = 63
WaitPkg = 64
VpclMulQdq = 65
Avx512BitAlg = 66
MovDirI = 67
MovDir64b = 68
Enqcmd = 69
Uintr = 70
Tsxldtrk = 71
Avx512VPopcntDq = 72
Avx512Vp2Intersect = 73
Avx5124Fmaps = 74
Avx512Vnni = 75
AvxVnni = 76
Avx5124VnniW = 77
ClDemote = 78
Serialize = 79
AmxTile = 80
AmxInt8 = 81
AmxBf16 = 82
HReset = 83
Kl = 84
WideKl = 85
X87 = 86
Cx8 = 87
Cx16 = 88
Sahf = 89
MovBe = 90
Adcx = 91
PrefecthW = 92
Implementations§
Source§impl X86Feature
impl X86Feature
pub fn feature_name(&self) -> &'static str
Trait Implementations§
Source§impl Clone for X86Feature
impl Clone for X86Feature
Source§fn clone(&self) -> X86Feature
fn clone(&self) -> X86Feature
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for X86Feature
impl Debug for X86Feature
Source§impl Display for X86Feature
impl Display for X86Feature
Source§impl FromStr for X86Feature
impl FromStr for X86Feature
Source§impl Hash for X86Feature
impl Hash for X86Feature
Source§impl PartialEq for X86Feature
impl PartialEq for X86Feature
impl Copy for X86Feature
impl Eq for X86Feature
impl StructuralPartialEq for X86Feature
Auto Trait Implementations§
impl Freeze for X86Feature
impl RefUnwindSafe for X86Feature
impl Send for X86Feature
impl Sync for X86Feature
impl Unpin for X86Feature
impl UnwindSafe for X86Feature
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