Struct x86defs::cpuid::VersionAndFeaturesEcx
source · pub struct VersionAndFeaturesEcx(/* private fields */);
Implementations§
source§impl VersionAndFeaturesEcx
impl VersionAndFeaturesEcx
sourcepub const fn with_pclmulqdq(self, value: bool) -> Self
pub const fn with_pclmulqdq(self, value: bool) -> Self
Bits: 1..2
sourcepub fn set_pclmulqdq(&mut self, value: bool)
pub fn set_pclmulqdq(&mut self, value: bool)
Bits: 1..2
sourcepub const fn with_dtes64(self, value: bool) -> Self
pub const fn with_dtes64(self, value: bool) -> Self
Bits: 2..3
sourcepub fn set_dtes64(&mut self, value: bool)
pub fn set_dtes64(&mut self, value: bool)
Bits: 2..3
sourcepub const fn with_monitor(self, value: bool) -> Self
pub const fn with_monitor(self, value: bool) -> Self
Bits: 3..4
sourcepub fn set_monitor(&mut self, value: bool)
pub fn set_monitor(&mut self, value: bool)
Bits: 3..4
sourcepub const fn with_cpl_ds(self, value: bool) -> Self
pub const fn with_cpl_ds(self, value: bool) -> Self
Bits: 4..5
sourcepub fn set_cpl_ds(&mut self, value: bool)
pub fn set_cpl_ds(&mut self, value: bool)
Bits: 4..5
sourcepub const fn with_ssse3(self, value: bool) -> Self
pub const fn with_ssse3(self, value: bool) -> Self
Bits: 9..10
sourcepub const fn with_cnxt_id(self, value: bool) -> Self
pub const fn with_cnxt_id(self, value: bool) -> Self
Bits: 10..11
sourcepub fn set_cnxt_id(&mut self, value: bool)
pub fn set_cnxt_id(&mut self, value: bool)
Bits: 10..11
sourcepub const fn seg_limit64_bit(&self) -> bool
pub const fn seg_limit64_bit(&self) -> bool
Bits: 11..12
sourcepub const fn with_seg_limit64_bit(self, value: bool) -> Self
pub const fn with_seg_limit64_bit(self, value: bool) -> Self
Bits: 11..12
sourcepub fn set_seg_limit64_bit(&mut self, value: bool)
pub fn set_seg_limit64_bit(&mut self, value: bool)
Bits: 11..12
sourcepub const fn with_sse4_1(self, value: bool) -> Self
pub const fn with_sse4_1(self, value: bool) -> Self
Bits: 19..20
sourcepub fn set_sse4_1(&mut self, value: bool)
pub fn set_sse4_1(&mut self, value: bool)
Bits: 19..20
sourcepub const fn with_sse4_2(self, value: bool) -> Self
pub const fn with_sse4_2(self, value: bool) -> Self
Bits: 20..21
sourcepub fn set_sse4_2(&mut self, value: bool)
pub fn set_sse4_2(&mut self, value: bool)
Bits: 20..21
sourcepub const fn with_x2_apic(self, value: bool) -> Self
pub const fn with_x2_apic(self, value: bool) -> Self
Bits: 21..22
sourcepub fn set_x2_apic(&mut self, value: bool)
pub fn set_x2_apic(&mut self, value: bool)
Bits: 21..22
sourcepub const fn with_movbe(self, value: bool) -> Self
pub const fn with_movbe(self, value: bool) -> Self
Bits: 22..23
sourcepub const fn with_pop_cnt(self, value: bool) -> Self
pub const fn with_pop_cnt(self, value: bool) -> Self
Bits: 23..24
sourcepub fn set_pop_cnt(&mut self, value: bool)
pub fn set_pop_cnt(&mut self, value: bool)
Bits: 23..24
sourcepub const fn tsc_deadline_tmr(&self) -> bool
pub const fn tsc_deadline_tmr(&self) -> bool
Bits: 24..25
sourcepub const fn with_tsc_deadline_tmr(self, value: bool) -> Self
pub const fn with_tsc_deadline_tmr(self, value: bool) -> Self
Bits: 24..25
sourcepub fn set_tsc_deadline_tmr(&mut self, value: bool)
pub fn set_tsc_deadline_tmr(&mut self, value: bool)
Bits: 24..25
sourcepub const fn with_xsave(self, value: bool) -> Self
pub const fn with_xsave(self, value: bool) -> Self
Bits: 26..27
sourcepub const fn with_os_xsave(self, value: bool) -> Self
pub const fn with_os_xsave(self, value: bool) -> Self
Bits: 27..28
sourcepub fn set_os_xsave(&mut self, value: bool)
pub fn set_os_xsave(&mut self, value: bool)
Bits: 27..28
sourcepub const fn with_rd_rand(self, value: bool) -> Self
pub const fn with_rd_rand(self, value: bool) -> Self
Bits: 30..31
sourcepub fn set_rd_rand(&mut self, value: bool)
pub fn set_rd_rand(&mut self, value: bool)
Bits: 30..31
sourcepub const fn hypervisor_present(&self) -> bool
pub const fn hypervisor_present(&self) -> bool
Bits: 31..32
sourcepub const fn with_hypervisor_present(self, value: bool) -> Self
pub const fn with_hypervisor_present(self, value: bool) -> Self
Bits: 31..32
sourcepub fn set_hypervisor_present(&mut self, value: bool)
pub fn set_hypervisor_present(&mut self, value: bool)
Bits: 31..32
Trait Implementations§
source§impl Clone for VersionAndFeaturesEcx
impl Clone for VersionAndFeaturesEcx
source§fn clone(&self) -> VersionAndFeaturesEcx
fn clone(&self) -> VersionAndFeaturesEcx
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 VersionAndFeaturesEcx
impl Debug for VersionAndFeaturesEcx
source§impl Default for VersionAndFeaturesEcx
impl Default for VersionAndFeaturesEcx
source§impl From<VersionAndFeaturesEcx> for u32
impl From<VersionAndFeaturesEcx> for u32
source§fn from(v: VersionAndFeaturesEcx) -> u32
fn from(v: VersionAndFeaturesEcx) -> u32
Converts to this type from the input type.
source§impl From<u32> for VersionAndFeaturesEcx
impl From<u32> for VersionAndFeaturesEcx
impl Copy for VersionAndFeaturesEcx
Auto Trait Implementations§
impl Freeze for VersionAndFeaturesEcx
impl RefUnwindSafe for VersionAndFeaturesEcx
impl Send for VersionAndFeaturesEcx
impl Sync for VersionAndFeaturesEcx
impl Unpin for VersionAndFeaturesEcx
impl UnwindSafe for VersionAndFeaturesEcx
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
)