pub struct VersionAndFeaturesEcx(/* private fields */);
Implementations§
Source§impl VersionAndFeaturesEcx
impl VersionAndFeaturesEcx
Sourcepub const fn with_sse3_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_sse3_checked(self, value: bool) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_pclmulqdq_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pclmulqdq_checked(self, value: bool) -> Result<Self, ()>
Bits: 1..2
Sourcepub const fn with_pclmulqdq(self, value: bool) -> Self
pub const fn with_pclmulqdq(self, value: bool) -> Self
Bits: 1..2
Sourcepub const fn set_pclmulqdq(&mut self, value: bool)
pub const fn set_pclmulqdq(&mut self, value: bool)
Bits: 1..2
Sourcepub const fn with_dtes64_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_dtes64_checked(self, value: bool) -> Result<Self, ()>
Bits: 2..3
Sourcepub const fn with_dtes64(self, value: bool) -> Self
pub const fn with_dtes64(self, value: bool) -> Self
Bits: 2..3
Sourcepub const fn set_dtes64(&mut self, value: bool)
pub const fn set_dtes64(&mut self, value: bool)
Bits: 2..3
Sourcepub const fn with_monitor_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_monitor_checked(self, value: bool) -> Result<Self, ()>
Bits: 3..4
Sourcepub const fn with_monitor(self, value: bool) -> Self
pub const fn with_monitor(self, value: bool) -> Self
Bits: 3..4
Sourcepub const fn set_monitor(&mut self, value: bool)
pub const fn set_monitor(&mut self, value: bool)
Bits: 3..4
Sourcepub const fn with_cpl_ds_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_cpl_ds_checked(self, value: bool) -> Result<Self, ()>
Bits: 4..5
Sourcepub const fn with_cpl_ds(self, value: bool) -> Self
pub const fn with_cpl_ds(self, value: bool) -> Self
Bits: 4..5
Sourcepub const fn set_cpl_ds(&mut self, value: bool)
pub const fn set_cpl_ds(&mut self, value: bool)
Bits: 4..5
Sourcepub const fn with_vmx_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_vmx_checked(self, value: bool) -> Result<Self, ()>
Bits: 5..6
Sourcepub const fn with_smx_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_smx_checked(self, value: bool) -> Result<Self, ()>
Bits: 6..7
Sourcepub const fn with_est_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_est_checked(self, value: bool) -> Result<Self, ()>
Bits: 7..8
Sourcepub const fn with_tm2_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tm2_checked(self, value: bool) -> Result<Self, ()>
Bits: 8..9
Sourcepub const fn with_ssse3_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ssse3_checked(self, value: bool) -> Result<Self, ()>
Bits: 9..10
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_cnxt_id_checked(self, value: bool) -> Result<Self, ()>
Bits: 10..11
Sourcepub const fn with_cnxt_id(self, value: bool) -> Self
pub const fn with_cnxt_id(self, value: bool) -> Self
Bits: 10..11
Sourcepub const fn set_cnxt_id(&mut self, value: bool)
pub const 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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_seg_limit64_bit_checked(self, value: bool) -> Result<Self, ()>
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 const fn set_seg_limit64_bit(&mut self, value: bool)
pub const fn set_seg_limit64_bit(&mut self, value: bool)
Bits: 11..12
Sourcepub const fn set_seg_limit64_bit_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_seg_limit64_bit_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 11..12
Sourcepub const fn with_fma_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_fma_checked(self, value: bool) -> Result<Self, ()>
Bits: 12..13
Sourcepub const fn with_cx16_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_cx16_checked(self, value: bool) -> Result<Self, ()>
Bits: 13..14
Sourcepub const fn with_xtpr_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_xtpr_checked(self, value: bool) -> Result<Self, ()>
Bits: 14..15
Sourcepub const fn with_pdcm_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pdcm_checked(self, value: bool) -> Result<Self, ()>
Bits: 15..16
Sourcepub const fn with_pcid_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pcid_checked(self, value: bool) -> Result<Self, ()>
Bits: 17..18
Sourcepub const fn with_dca_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_dca_checked(self, value: bool) -> Result<Self, ()>
Bits: 18..19
Sourcepub const fn with_sse4_1_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_sse4_1_checked(self, value: bool) -> Result<Self, ()>
Bits: 19..20
Sourcepub const fn with_sse4_1(self, value: bool) -> Self
pub const fn with_sse4_1(self, value: bool) -> Self
Bits: 19..20
Sourcepub const fn set_sse4_1(&mut self, value: bool)
pub const fn set_sse4_1(&mut self, value: bool)
Bits: 19..20
Sourcepub const fn with_sse4_2_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_sse4_2_checked(self, value: bool) -> Result<Self, ()>
Bits: 20..21
Sourcepub const fn with_sse4_2(self, value: bool) -> Self
pub const fn with_sse4_2(self, value: bool) -> Self
Bits: 20..21
Sourcepub const fn set_sse4_2(&mut self, value: bool)
pub const fn set_sse4_2(&mut self, value: bool)
Bits: 20..21
Sourcepub const fn with_x2_apic_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_x2_apic_checked(self, value: bool) -> Result<Self, ()>
Bits: 21..22
Sourcepub const fn with_x2_apic(self, value: bool) -> Self
pub const fn with_x2_apic(self, value: bool) -> Self
Bits: 21..22
Sourcepub const fn set_x2_apic(&mut self, value: bool)
pub const fn set_x2_apic(&mut self, value: bool)
Bits: 21..22
Sourcepub const fn with_movbe_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_movbe_checked(self, value: bool) -> Result<Self, ()>
Bits: 22..23
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pop_cnt_checked(self, value: bool) -> Result<Self, ()>
Bits: 23..24
Sourcepub const fn with_pop_cnt(self, value: bool) -> Self
pub const fn with_pop_cnt(self, value: bool) -> Self
Bits: 23..24
Sourcepub const fn set_pop_cnt(&mut self, value: bool)
pub const 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_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_tsc_deadline_tmr_checked( self, value: bool, ) -> Result<Self, ()>
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 const fn set_tsc_deadline_tmr(&mut self, value: bool)
pub const fn set_tsc_deadline_tmr(&mut self, value: bool)
Bits: 24..25
Sourcepub const fn set_tsc_deadline_tmr_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_tsc_deadline_tmr_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 24..25
Sourcepub const fn with_aes_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_aes_checked(self, value: bool) -> Result<Self, ()>
Bits: 25..26
Sourcepub const fn with_xsave_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_xsave_checked(self, value: bool) -> Result<Self, ()>
Bits: 26..27
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_os_xsave_checked(self, value: bool) -> Result<Self, ()>
Bits: 27..28
Sourcepub const fn with_os_xsave(self, value: bool) -> Self
pub const fn with_os_xsave(self, value: bool) -> Self
Bits: 27..28
Sourcepub const fn set_os_xsave(&mut self, value: bool)
pub const fn set_os_xsave(&mut self, value: bool)
Bits: 27..28
Sourcepub const fn with_avx_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_avx_checked(self, value: bool) -> Result<Self, ()>
Bits: 28..29
Sourcepub const fn with_f16c_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_f16c_checked(self, value: bool) -> Result<Self, ()>
Bits: 29..30
Sourcepub const fn with_rd_rand_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_rd_rand_checked(self, value: bool) -> Result<Self, ()>
Bits: 30..31
Sourcepub const fn with_rd_rand(self, value: bool) -> Self
pub const fn with_rd_rand(self, value: bool) -> Self
Bits: 30..31
Sourcepub const fn set_rd_rand(&mut self, value: bool)
pub const 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_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_hypervisor_present_checked( self, value: bool, ) -> Result<Self, ()>
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 const fn set_hypervisor_present(&mut self, value: bool)
pub const 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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more