Struct x86defs::cpuid::ExtendedVersionAndFeaturesEcx
source · pub struct ExtendedVersionAndFeaturesEcx(/* private fields */);
Implementations§
source§impl ExtendedVersionAndFeaturesEcx
impl ExtendedVersionAndFeaturesEcx
sourcepub const fn lahf_sahf_available(&self) -> bool
pub const fn lahf_sahf_available(&self) -> bool
Bits: 0..1
sourcepub const fn with_lahf_sahf_available(self, value: bool) -> Self
pub const fn with_lahf_sahf_available(self, value: bool) -> Self
Bits: 0..1
sourcepub fn set_lahf_sahf_available(&mut self, value: bool)
pub fn set_lahf_sahf_available(&mut self, value: bool)
Bits: 0..1
sourcepub const fn cmp_legacy(&self) -> bool
pub const fn cmp_legacy(&self) -> bool
Bits: 1..2
sourcepub const fn with_cmp_legacy(self, value: bool) -> Self
pub const fn with_cmp_legacy(self, value: bool) -> Self
Bits: 1..2
sourcepub fn set_cmp_legacy(&mut self, value: bool)
pub fn set_cmp_legacy(&mut self, value: bool)
Bits: 1..2
sourcepub const fn ext_apic_space(&self) -> bool
pub const fn ext_apic_space(&self) -> bool
Bits: 3..4
sourcepub const fn with_ext_apic_space(self, value: bool) -> Self
pub const fn with_ext_apic_space(self, value: bool) -> Self
Bits: 3..4
sourcepub fn set_ext_apic_space(&mut self, value: bool)
pub fn set_ext_apic_space(&mut self, value: bool)
Bits: 3..4
sourcepub const fn alt_mov_cr8(&self) -> bool
pub const fn alt_mov_cr8(&self) -> bool
Bits: 4..5
sourcepub const fn with_alt_mov_cr8(self, value: bool) -> Self
pub const fn with_alt_mov_cr8(self, value: bool) -> Self
Bits: 4..5
sourcepub fn set_alt_mov_cr8(&mut self, value: bool)
pub fn set_alt_mov_cr8(&mut self, value: bool)
Bits: 4..5
sourcepub const fn with_sse4_a(self, value: bool) -> Self
pub const fn with_sse4_a(self, value: bool) -> Self
Bits: 6..7
sourcepub fn set_sse4_a(&mut self, value: bool)
pub fn set_sse4_a(&mut self, value: bool)
Bits: 6..7
sourcepub const fn mis_align_sse(&self) -> bool
pub const fn mis_align_sse(&self) -> bool
Bits: 7..8
sourcepub const fn with_mis_align_sse(self, value: bool) -> Self
pub const fn with_mis_align_sse(self, value: bool) -> Self
Bits: 7..8
sourcepub fn set_mis_align_sse(&mut self, value: bool)
pub fn set_mis_align_sse(&mut self, value: bool)
Bits: 7..8
sourcepub const fn with_prefetch(self, value: bool) -> Self
pub const fn with_prefetch(self, value: bool) -> Self
Bits: 8..9
sourcepub fn set_prefetch(&mut self, value: bool)
pub fn set_prefetch(&mut self, value: bool)
Bits: 8..9
sourcepub const fn with_skinit(self, value: bool) -> Self
pub const fn with_skinit(self, value: bool) -> Self
Bits: 12..13
sourcepub fn set_skinit(&mut self, value: bool)
pub fn set_skinit(&mut self, value: bool)
Bits: 12..13
sourcepub const fn with_node_id(self, value: bool) -> Self
pub const fn with_node_id(self, value: bool) -> Self
Bits: 19..20
sourcepub fn set_node_id(&mut self, value: bool)
pub fn set_node_id(&mut self, value: bool)
Bits: 19..20
sourcepub const fn topology_extensions(&self) -> bool
pub const fn topology_extensions(&self) -> bool
Bits: 22..23
sourcepub const fn with_topology_extensions(self, value: bool) -> Self
pub const fn with_topology_extensions(self, value: bool) -> Self
Bits: 22..23
sourcepub fn set_topology_extensions(&mut self, value: bool)
pub fn set_topology_extensions(&mut self, value: bool)
Bits: 22..23
sourcepub const fn perf_ctr_ext_core(&self) -> bool
pub const fn perf_ctr_ext_core(&self) -> bool
Bits: 23..24
sourcepub const fn with_perf_ctr_ext_core(self, value: bool) -> Self
pub const fn with_perf_ctr_ext_core(self, value: bool) -> Self
Bits: 23..24
sourcepub fn set_perf_ctr_ext_core(&mut self, value: bool)
pub fn set_perf_ctr_ext_core(&mut self, value: bool)
Bits: 23..24
sourcepub const fn perf_ctr_ext_df(&self) -> bool
pub const fn perf_ctr_ext_df(&self) -> bool
Bits: 24..25
sourcepub const fn with_perf_ctr_ext_df(self, value: bool) -> Self
pub const fn with_perf_ctr_ext_df(self, value: bool) -> Self
Bits: 24..25
sourcepub fn set_perf_ctr_ext_df(&mut self, value: bool)
pub fn set_perf_ctr_ext_df(&mut self, value: bool)
Bits: 24..25
sourcepub const fn perf_ctr_ext_llc(&self) -> bool
pub const fn perf_ctr_ext_llc(&self) -> bool
Bits: 28..29
sourcepub const fn with_perf_ctr_ext_llc(self, value: bool) -> Self
pub const fn with_perf_ctr_ext_llc(self, value: bool) -> Self
Bits: 28..29
sourcepub fn set_perf_ctr_ext_llc(&mut self, value: bool)
pub fn set_perf_ctr_ext_llc(&mut self, value: bool)
Bits: 28..29
sourcepub const fn with_monitor_x(self, value: bool) -> Self
pub const fn with_monitor_x(self, value: bool) -> Self
Bits: 29..30
sourcepub fn set_monitor_x(&mut self, value: bool)
pub fn set_monitor_x(&mut self, value: bool)
Bits: 29..30
Trait Implementations§
source§impl Clone for ExtendedVersionAndFeaturesEcx
impl Clone for ExtendedVersionAndFeaturesEcx
source§fn clone(&self) -> ExtendedVersionAndFeaturesEcx
fn clone(&self) -> ExtendedVersionAndFeaturesEcx
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 From<ExtendedVersionAndFeaturesEcx> for u32
impl From<ExtendedVersionAndFeaturesEcx> for u32
source§fn from(v: ExtendedVersionAndFeaturesEcx) -> u32
fn from(v: ExtendedVersionAndFeaturesEcx) -> u32
Converts to this type from the input type.
source§impl From<u32> for ExtendedVersionAndFeaturesEcx
impl From<u32> for ExtendedVersionAndFeaturesEcx
impl Copy for ExtendedVersionAndFeaturesEcx
Auto Trait Implementations§
impl Freeze for ExtendedVersionAndFeaturesEcx
impl RefUnwindSafe for ExtendedVersionAndFeaturesEcx
impl Send for ExtendedVersionAndFeaturesEcx
impl Sync for ExtendedVersionAndFeaturesEcx
impl Unpin for ExtendedVersionAndFeaturesEcx
impl UnwindSafe for ExtendedVersionAndFeaturesEcx
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
)