Struct x86defs::cpuid::ExtendedFeatureSubleaf0Ebx
source · pub struct ExtendedFeatureSubleaf0Ebx(/* private fields */);
Implementations§
source§impl ExtendedFeatureSubleaf0Ebx
impl ExtendedFeatureSubleaf0Ebx
sourcepub const fn rd_wr_fs_gs(&self) -> bool
pub const fn rd_wr_fs_gs(&self) -> bool
Bits: 0..1
sourcepub const fn with_rd_wr_fs_gs(self, value: bool) -> Self
pub const fn with_rd_wr_fs_gs(self, value: bool) -> Self
Bits: 0..1
sourcepub fn set_rd_wr_fs_gs(&mut self, value: bool)
pub fn set_rd_wr_fs_gs(&mut self, value: bool)
Bits: 0..1
sourcepub const fn tsc_adjust(&self) -> bool
pub const fn tsc_adjust(&self) -> bool
Bits: 1..2
sourcepub const fn with_tsc_adjust(self, value: bool) -> Self
pub const fn with_tsc_adjust(self, value: bool) -> Self
Bits: 1..2
sourcepub fn set_tsc_adjust(&mut self, value: bool)
pub fn set_tsc_adjust(&mut self, value: bool)
Bits: 1..2
sourcepub const fn enhanced_fast_string(&self) -> bool
pub const fn enhanced_fast_string(&self) -> bool
Bits: 9..10
sourcepub const fn with_enhanced_fast_string(self, value: bool) -> Self
pub const fn with_enhanced_fast_string(self, value: bool) -> Self
Bits: 9..10
sourcepub fn set_enhanced_fast_string(&mut self, value: bool)
pub fn set_enhanced_fast_string(&mut self, value: bool)
Bits: 9..10
sourcepub const fn with_inv_pcid(self, value: bool) -> Self
pub const fn with_inv_pcid(self, value: bool) -> Self
Bits: 10..11
sourcepub fn set_inv_pcid(&mut self, value: bool)
pub fn set_inv_pcid(&mut self, value: bool)
Bits: 10..11
sourcepub const fn with_rdt_m(self, value: bool) -> Self
pub const fn with_rdt_m(self, value: bool) -> Self
Bits: 12..13
sourcepub const fn dep_x87_fpu_save(&self) -> bool
pub const fn dep_x87_fpu_save(&self) -> bool
Bits: 13..14
sourcepub const fn with_dep_x87_fpu_save(self, value: bool) -> Self
pub const fn with_dep_x87_fpu_save(self, value: bool) -> Self
Bits: 13..14
sourcepub fn set_dep_x87_fpu_save(&mut self, value: bool)
pub fn set_dep_x87_fpu_save(&mut self, value: bool)
Bits: 13..14
sourcepub const fn with_rdt_a(self, value: bool) -> Self
pub const fn with_rdt_a(self, value: bool) -> Self
Bits: 15..16
sourcepub const fn with_avx512f(self, value: bool) -> Self
pub const fn with_avx512f(self, value: bool) -> Self
Bits: 16..17
sourcepub fn set_avx512f(&mut self, value: bool)
pub fn set_avx512f(&mut self, value: bool)
Bits: 16..17
sourcepub const fn with_avx512dq(self, value: bool) -> Self
pub const fn with_avx512dq(self, value: bool) -> Self
Bits: 17..18
sourcepub fn set_avx512dq(&mut self, value: bool)
pub fn set_avx512dq(&mut self, value: bool)
Bits: 17..18
sourcepub const fn with_rd_seed(self, value: bool) -> Self
pub const fn with_rd_seed(self, value: bool) -> Self
Bits: 18..19
sourcepub fn set_rd_seed(&mut self, value: bool)
pub fn set_rd_seed(&mut self, value: bool)
Bits: 18..19
sourcepub const fn avx512_ifma(&self) -> bool
pub const fn avx512_ifma(&self) -> bool
Bits: 21..22
sourcepub const fn with_avx512_ifma(self, value: bool) -> Self
pub const fn with_avx512_ifma(self, value: bool) -> Self
Bits: 21..22
sourcepub fn set_avx512_ifma(&mut self, value: bool)
pub fn set_avx512_ifma(&mut self, value: bool)
Bits: 21..22
sourcepub const fn clflushopt(&self) -> bool
pub const fn clflushopt(&self) -> bool
Bits: 23..24
sourcepub const fn with_clflushopt(self, value: bool) -> Self
pub const fn with_clflushopt(self, value: bool) -> Self
Bits: 23..24
sourcepub fn set_clflushopt(&mut self, value: bool)
pub fn set_clflushopt(&mut self, value: bool)
Bits: 23..24
sourcepub const fn with_avx512cd(self, value: bool) -> Self
pub const fn with_avx512cd(self, value: bool) -> Self
Bits: 28..29
sourcepub fn set_avx512cd(&mut self, value: bool)
pub fn set_avx512cd(&mut self, value: bool)
Bits: 28..29
sourcepub const fn with_avx512bw(self, value: bool) -> Self
pub const fn with_avx512bw(self, value: bool) -> Self
Bits: 30..31
sourcepub fn set_avx512bw(&mut self, value: bool)
pub fn set_avx512bw(&mut self, value: bool)
Bits: 30..31
sourcepub const fn with_avx512vl(self, value: bool) -> Self
pub const fn with_avx512vl(self, value: bool) -> Self
Bits: 31..32
sourcepub fn set_avx512vl(&mut self, value: bool)
pub fn set_avx512vl(&mut self, value: bool)
Bits: 31..32
Trait Implementations§
source§impl Clone for ExtendedFeatureSubleaf0Ebx
impl Clone for ExtendedFeatureSubleaf0Ebx
source§fn clone(&self) -> ExtendedFeatureSubleaf0Ebx
fn clone(&self) -> ExtendedFeatureSubleaf0Ebx
Returns a copy 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 ExtendedFeatureSubleaf0Ebx
impl Debug for ExtendedFeatureSubleaf0Ebx
source§impl Default for ExtendedFeatureSubleaf0Ebx
impl Default for ExtendedFeatureSubleaf0Ebx
source§impl From<ExtendedFeatureSubleaf0Ebx> for u32
impl From<ExtendedFeatureSubleaf0Ebx> for u32
source§fn from(v: ExtendedFeatureSubleaf0Ebx) -> u32
fn from(v: ExtendedFeatureSubleaf0Ebx) -> u32
Converts to this type from the input type.
source§impl From<u32> for ExtendedFeatureSubleaf0Ebx
impl From<u32> for ExtendedFeatureSubleaf0Ebx
impl Copy for ExtendedFeatureSubleaf0Ebx
Auto Trait Implementations§
impl Freeze for ExtendedFeatureSubleaf0Ebx
impl RefUnwindSafe for ExtendedFeatureSubleaf0Ebx
impl Send for ExtendedFeatureSubleaf0Ebx
impl Sync for ExtendedFeatureSubleaf0Ebx
impl Unpin for ExtendedFeatureSubleaf0Ebx
impl UnwindSafe for ExtendedFeatureSubleaf0Ebx
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)