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_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_lahf_sahf_available_checked( self, value: bool, ) -> Result<Self, ()>
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 const fn set_lahf_sahf_available(&mut self, value: bool)
pub const fn set_lahf_sahf_available(&mut self, value: bool)
Bits: 0..1
Sourcepub const fn set_lahf_sahf_available_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_lahf_sahf_available_checked( &mut self, value: bool, ) -> Result<(), ()>
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_cmp_legacy_checked(self, value: bool) -> Result<Self, ()>
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 const fn set_cmp_legacy(&mut self, value: bool)
pub const fn set_cmp_legacy(&mut self, value: bool)
Bits: 1..2
Sourcepub const fn with_svm_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_svm_checked(self, value: bool) -> Result<Self, ()>
Bits: 2..3
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ext_apic_space_checked(self, value: bool) -> Result<Self, ()>
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 const fn set_ext_apic_space(&mut self, value: bool)
pub const fn set_ext_apic_space(&mut self, value: bool)
Bits: 3..4
Sourcepub const fn set_ext_apic_space_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_ext_apic_space_checked( &mut self, value: bool, ) -> Result<(), ()>
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_alt_mov_cr8_checked(self, value: bool) -> Result<Self, ()>
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 const fn set_alt_mov_cr8(&mut self, value: bool)
pub const fn set_alt_mov_cr8(&mut self, value: bool)
Bits: 4..5
Sourcepub const fn with_abm_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_abm_checked(self, value: bool) -> Result<Self, ()>
Bits: 5..6
Sourcepub const fn with_sse4_a_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_sse4_a_checked(self, value: bool) -> Result<Self, ()>
Bits: 6..7
Sourcepub const fn with_sse4_a(self, value: bool) -> Self
pub const fn with_sse4_a(self, value: bool) -> Self
Bits: 6..7
Sourcepub const fn set_sse4_a(&mut self, value: bool)
pub const 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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_mis_align_sse_checked(self, value: bool) -> Result<Self, ()>
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 const fn set_mis_align_sse(&mut self, value: bool)
pub const fn set_mis_align_sse(&mut self, value: bool)
Bits: 7..8
Sourcepub const fn with_prefetch_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_prefetch_checked(self, value: bool) -> Result<Self, ()>
Bits: 8..9
Sourcepub const fn with_prefetch(self, value: bool) -> Self
pub const fn with_prefetch(self, value: bool) -> Self
Bits: 8..9
Sourcepub const fn set_prefetch(&mut self, value: bool)
pub const fn set_prefetch(&mut self, value: bool)
Bits: 8..9
Sourcepub const fn with_osvw_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_osvw_checked(self, value: bool) -> Result<Self, ()>
Bits: 9..10
Sourcepub const fn with_ibs_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ibs_checked(self, value: bool) -> Result<Self, ()>
Bits: 10..11
Sourcepub const fn with_xop_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_xop_checked(self, value: bool) -> Result<Self, ()>
Bits: 11..12
Sourcepub const fn with_skinit_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_skinit_checked(self, value: bool) -> Result<Self, ()>
Bits: 12..13
Sourcepub const fn with_skinit(self, value: bool) -> Self
pub const fn with_skinit(self, value: bool) -> Self
Bits: 12..13
Sourcepub const fn set_skinit(&mut self, value: bool)
pub const fn set_skinit(&mut self, value: bool)
Bits: 12..13
Sourcepub const fn with_wdt_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_wdt_checked(self, value: bool) -> Result<Self, ()>
Bits: 13..14
Sourcepub const fn with_lwp_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_lwp_checked(self, value: bool) -> Result<Self, ()>
Bits: 15..16
Sourcepub const fn with_fma4_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_fma4_checked(self, value: bool) -> Result<Self, ()>
Bits: 16..17
Sourcepub const fn topology_extensions(&self) -> bool
pub const fn topology_extensions(&self) -> bool
Bits: 22..23
Sourcepub const fn with_topology_extensions_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_topology_extensions_checked( self, value: bool, ) -> Result<Self, ()>
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 const fn set_topology_extensions(&mut self, value: bool)
pub const fn set_topology_extensions(&mut self, value: bool)
Bits: 22..23
Sourcepub const fn set_topology_extensions_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_topology_extensions_checked( &mut self, value: bool, ) -> Result<(), ()>
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_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_perf_ctr_ext_core_checked( self, value: bool, ) -> Result<Self, ()>
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 const fn set_perf_ctr_ext_core(&mut self, value: bool)
pub const fn set_perf_ctr_ext_core(&mut self, value: bool)
Bits: 23..24
Sourcepub const fn set_perf_ctr_ext_core_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_perf_ctr_ext_core_checked( &mut self, value: bool, ) -> Result<(), ()>
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_perf_ctr_ext_df_checked(self, value: bool) -> Result<Self, ()>
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 const fn set_perf_ctr_ext_df(&mut self, value: bool)
pub const fn set_perf_ctr_ext_df(&mut self, value: bool)
Bits: 24..25
Sourcepub const fn set_perf_ctr_ext_df_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_perf_ctr_ext_df_checked( &mut self, value: bool, ) -> Result<(), ()>
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_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_perf_ctr_ext_llc_checked( self, value: bool, ) -> Result<Self, ()>
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 const fn set_perf_ctr_ext_llc(&mut self, value: bool)
pub const fn set_perf_ctr_ext_llc(&mut self, value: bool)
Bits: 28..29
Sourcepub const fn set_perf_ctr_ext_llc_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_perf_ctr_ext_llc_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 28..29
Sourcepub const fn with_monitor_x_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_monitor_x_checked(self, value: bool) -> Result<Self, ()>
Bits: 29..30
Sourcepub const fn with_monitor_x(self, value: bool) -> Self
pub const fn with_monitor_x(self, value: bool) -> Self
Bits: 29..30
Sourcepub const fn set_monitor_x(&mut self, value: bool)
pub const 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