Struct x86defs::cpuid::ExtendedFeatureSubleaf0Edx

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

Implementations§

source§

impl ExtendedFeatureSubleaf0Edx

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 fast_short_rep_move(&self) -> bool

Bits: 4..5

source

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

Bits: 4..5

source

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

Bits: 4..5

source

pub const fn avx512_vp2_intersect(&self) -> bool

Bits: 8..9

source

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

Bits: 8..9

source

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

Bits: 8..9

source

pub const fn mb_clear(&self) -> bool

Bits: 10..11

source

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

Bits: 10..11

source

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

Bits: 10..11

source

pub const fn serialize(&self) -> bool

Bits: 14..15

source

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

Bits: 14..15

source

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

Bits: 14..15

source

pub const fn hetero(&self) -> bool

Bits: 15..16

source

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

Bits: 15..16

source

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

Bits: 15..16

source

pub const fn tsx_ld_trk(&self) -> bool

Bits: 16..17

source

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

Bits: 16..17

source

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

Bits: 16..17

source

pub const fn pconfig(&self) -> bool

Bits: 18..19

source

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

Bits: 18..19

source

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

Bits: 18..19

source

pub const fn arch_lbr(&self) -> bool

Bits: 19..20

source

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

Bits: 19..20

source

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

Bits: 19..20

source

pub const fn cet_ibt(&self) -> bool

Bits: 20..21

source

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

Bits: 20..21

source

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

Bits: 20..21

source

pub const fn amx_bf16(&self) -> bool

Bits: 22..23

source

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

Bits: 22..23

source

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

Bits: 22..23

source

pub const fn avx512_fp16(&self) -> bool

Bits: 23..24

source

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

Bits: 23..24

source

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

Bits: 23..24

source

pub const fn amx_tile(&self) -> bool

Bits: 24..25

source

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

Bits: 24..25

source

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

Bits: 24..25

source

pub const fn amx_int8(&self) -> bool

Bits: 25..26

source

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

Bits: 25..26

source

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

Bits: 25..26

source

pub const fn ibrs(&self) -> bool

Bits: 26..27

source

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

Bits: 26..27

source

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

Bits: 26..27

source

pub const fn stibp(&self) -> bool

Bits: 27..28

source

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

Bits: 27..28

source

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

Bits: 27..28

source

pub const fn l1d_cache_flush(&self) -> bool

Bits: 28..29

source

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

Bits: 28..29

source

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

Bits: 28..29

source

pub const fn arch_capabilities(&self) -> bool

Bits: 29..30

source

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

Bits: 29..30

source

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

Bits: 29..30

source

pub const fn mdd(&self) -> bool

Bits: 31..32

source

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

Bits: 31..32

source

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

Bits: 31..32

Trait Implementations§

source§

impl Clone for ExtendedFeatureSubleaf0Edx

source§

fn clone(&self) -> ExtendedFeatureSubleaf0Edx

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 ExtendedFeatureSubleaf0Edx

source§

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

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

impl Default for ExtendedFeatureSubleaf0Edx

source§

fn default() -> Self

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

impl From<ExtendedFeatureSubleaf0Edx> for u32

source§

fn from(v: ExtendedFeatureSubleaf0Edx) -> u32

Converts to this type from the input type.
source§

impl From<u32> for ExtendedFeatureSubleaf0Edx

source§

fn from(v: u32) -> Self

Converts to this type from the input type.
source§

impl Copy for ExtendedFeatureSubleaf0Edx

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.