Struct x86defs::cpuid::ExtendedFeatureSubleaf0Ecx

source ·
pub struct ExtendedFeatureSubleaf0Ecx(/* private fields */);

Implementations§

source§

impl ExtendedFeatureSubleaf0Ecx

source

pub const fn new() -> Self

Creates a new default initialized bitfield.

source

pub const fn from_bits(bits: u32) -> Self

Convert from bits.

source

pub const fn into_bits(self) -> u32

Convert into bits.

source

pub const fn avx512_vbmi(&self) -> bool

Bits: 1..2

source

pub const fn with_avx512_vbmi(self, value: bool) -> Self

Bits: 1..2

source

pub fn set_avx512_vbmi(&mut self, value: bool)

Bits: 1..2

source

pub const fn umip(&self) -> bool

Bits: 2..3

source

pub const fn with_umip(self, value: bool) -> Self

Bits: 2..3

source

pub fn set_umip(&mut self, value: bool)

Bits: 2..3

source

pub const fn umwait_tpause(&self) -> bool

Bits: 5..6

source

pub const fn with_umwait_tpause(self, value: bool) -> Self

Bits: 5..6

source

pub fn set_umwait_tpause(&mut self, value: bool)

Bits: 5..6

source

pub const fn avx512_vbmi2(&self) -> bool

Bits: 6..7

source

pub const fn with_avx512_vbmi2(self, value: bool) -> Self

Bits: 6..7

source

pub fn set_avx512_vbmi2(&mut self, value: bool)

Bits: 6..7

source

pub const fn cet_ss(&self) -> bool

Bits: 7..8

source

pub const fn with_cet_ss(self, value: bool) -> Self

Bits: 7..8

source

pub fn set_cet_ss(&mut self, value: bool)

Bits: 7..8

source

pub const fn gfni(&self) -> bool

Bits: 8..9

source

pub const fn with_gfni(self, value: bool) -> Self

Bits: 8..9

source

pub fn set_gfni(&mut self, value: bool)

Bits: 8..9

source

pub const fn vaes(&self) -> bool

Bits: 9..10

source

pub const fn with_vaes(self, value: bool) -> Self

Bits: 9..10

source

pub fn set_vaes(&mut self, value: bool)

Bits: 9..10

source

pub const fn vpclmulqdq(&self) -> bool

Bits: 10..11

source

pub const fn with_vpclmulqdq(self, value: bool) -> Self

Bits: 10..11

source

pub fn set_vpclmulqdq(&mut self, value: bool)

Bits: 10..11

source

pub const fn avx512_vnni(&self) -> bool

Bits: 11..12

source

pub const fn with_avx512_vnni(self, value: bool) -> Self

Bits: 11..12

source

pub fn set_avx512_vnni(&mut self, value: bool)

Bits: 11..12

source

pub const fn avx512_bitalg(&self) -> bool

Bits: 12..13

source

pub const fn with_avx512_bitalg(self, value: bool) -> Self

Bits: 12..13

source

pub fn set_avx512_bitalg(&mut self, value: bool)

Bits: 12..13

source

pub const fn tme(&self) -> bool

Bits: 13..14

source

pub const fn with_tme(self, value: bool) -> Self

Bits: 13..14

source

pub fn set_tme(&mut self, value: bool)

Bits: 13..14

source

pub const fn avx512_vpopcntdq(&self) -> bool

Bits: 14..15

source

pub const fn with_avx512_vpopcntdq(self, value: bool) -> Self

Bits: 14..15

source

pub fn set_avx512_vpopcntdq(&mut self, value: bool)

Bits: 14..15

source

pub const fn la57(&self) -> bool

Bits: 16..17

source

pub const fn with_la57(self, value: bool) -> Self

Bits: 16..17

source

pub fn set_la57(&mut self, value: bool)

Bits: 16..17

source

pub const fn rd_pid(&self) -> bool

Bits: 22..23

source

pub const fn with_rd_pid(self, value: bool) -> Self

Bits: 22..23

source

pub fn set_rd_pid(&mut self, value: bool)

Bits: 22..23

source

pub const fn cldemote(&self) -> bool

Bits: 25..26

source

pub const fn with_cldemote(self, value: bool) -> Self

Bits: 25..26

source

pub fn set_cldemote(&mut self, value: bool)

Bits: 25..26

source

pub const fn movdiri(&self) -> bool

Bits: 27..28

source

pub const fn with_movdiri(self, value: bool) -> Self

Bits: 27..28

source

pub fn set_movdiri(&mut self, value: bool)

Bits: 27..28

source

pub const fn movdir64b(&self) -> bool

Bits: 28..29

source

pub const fn with_movdir64b(self, value: bool) -> Self

Bits: 28..29

source

pub fn set_movdir64b(&mut self, value: bool)

Bits: 28..29

source

pub const fn enqcmd(&self) -> bool

Bits: 29..30

source

pub const fn with_enqcmd(self, value: bool) -> Self

Bits: 29..30

source

pub fn set_enqcmd(&mut self, value: bool)

Bits: 29..30

source

pub const fn sgx_lc(&self) -> bool

Bits: 30..31

source

pub const fn with_sgx_lc(self, value: bool) -> Self

Bits: 30..31

source

pub fn set_sgx_lc(&mut self, value: bool)

Bits: 30..31

Trait Implementations§

source§

impl Clone for ExtendedFeatureSubleaf0Ecx

source§

fn clone(&self) -> ExtendedFeatureSubleaf0Ecx

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ExtendedFeatureSubleaf0Ecx

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ExtendedFeatureSubleaf0Ecx

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl From<ExtendedFeatureSubleaf0Ecx> for u32

source§

fn from(v: ExtendedFeatureSubleaf0Ecx) -> u32

Converts to this type from the input type.
source§

impl From<u32> for ExtendedFeatureSubleaf0Ecx

source§

fn from(v: u32) -> Self

Converts to this type from the input type.
source§

impl Copy for ExtendedFeatureSubleaf0Ecx

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.