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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_rd_wr_fs_gs_checked(self, value: bool) -> Result<Self, ()>
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 const fn set_rd_wr_fs_gs(&mut self, value: bool)
pub const 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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tsc_adjust_checked(self, value: bool) -> Result<Self, ()>
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 const fn set_tsc_adjust(&mut self, value: bool)
pub const fn set_tsc_adjust(&mut self, value: bool)
Bits: 1..2
Sourcepub const fn with_sgx_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_sgx_checked(self, value: bool) -> Result<Self, ()>
Bits: 2..3
Sourcepub const fn with_bmi1_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_bmi1_checked(self, value: bool) -> Result<Self, ()>
Bits: 3..4
Sourcepub const fn with_hle_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_hle_checked(self, value: bool) -> Result<Self, ()>
Bits: 4..5
Sourcepub const fn with_avx2_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_avx2_checked(self, value: bool) -> Result<Self, ()>
Bits: 5..6
Sourcepub const fn with_smep_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_smep_checked(self, value: bool) -> Result<Self, ()>
Bits: 7..8
Sourcepub const fn with_bmi2_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_bmi2_checked(self, value: bool) -> Result<Self, ()>
Bits: 8..9
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_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_enhanced_fast_string_checked( self, value: bool, ) -> Result<Self, ()>
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 const fn set_enhanced_fast_string(&mut self, value: bool)
pub const fn set_enhanced_fast_string(&mut self, value: bool)
Bits: 9..10
Sourcepub const fn set_enhanced_fast_string_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_enhanced_fast_string_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 9..10
Sourcepub const fn with_inv_pcid_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_inv_pcid_checked(self, value: bool) -> Result<Self, ()>
Bits: 10..11
Sourcepub const fn with_inv_pcid(self, value: bool) -> Self
pub const fn with_inv_pcid(self, value: bool) -> Self
Bits: 10..11
Sourcepub const fn set_inv_pcid(&mut self, value: bool)
pub const fn set_inv_pcid(&mut self, value: bool)
Bits: 10..11
Sourcepub const fn with_rtm_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_rtm_checked(self, value: bool) -> Result<Self, ()>
Bits: 11..12
Sourcepub const fn with_rdt_m_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_rdt_m_checked(self, value: bool) -> Result<Self, ()>
Bits: 12..13
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_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_dep_x87_fpu_save_checked( self, value: bool, ) -> Result<Self, ()>
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 const fn set_dep_x87_fpu_save(&mut self, value: bool)
pub const fn set_dep_x87_fpu_save(&mut self, value: bool)
Bits: 13..14
Sourcepub const fn set_dep_x87_fpu_save_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_dep_x87_fpu_save_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 13..14
Sourcepub const fn with_mpx_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_mpx_checked(self, value: bool) -> Result<Self, ()>
Bits: 14..15
Sourcepub const fn with_rdt_a_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_rdt_a_checked(self, value: bool) -> Result<Self, ()>
Bits: 15..16
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_avx512f_checked(self, value: bool) -> Result<Self, ()>
Bits: 16..17
Sourcepub const fn with_avx512f(self, value: bool) -> Self
pub const fn with_avx512f(self, value: bool) -> Self
Bits: 16..17
Sourcepub const fn set_avx512f(&mut self, value: bool)
pub const fn set_avx512f(&mut self, value: bool)
Bits: 16..17
Sourcepub const fn with_avx512dq_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_avx512dq_checked(self, value: bool) -> Result<Self, ()>
Bits: 17..18
Sourcepub const fn with_avx512dq(self, value: bool) -> Self
pub const fn with_avx512dq(self, value: bool) -> Self
Bits: 17..18
Sourcepub const fn set_avx512dq(&mut self, value: bool)
pub const fn set_avx512dq(&mut self, value: bool)
Bits: 17..18
Sourcepub const fn with_rd_seed_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_rd_seed_checked(self, value: bool) -> Result<Self, ()>
Bits: 18..19
Sourcepub const fn with_rd_seed(self, value: bool) -> Self
pub const fn with_rd_seed(self, value: bool) -> Self
Bits: 18..19
Sourcepub const fn set_rd_seed(&mut self, value: bool)
pub const fn set_rd_seed(&mut self, value: bool)
Bits: 18..19
Sourcepub const fn with_adx_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_adx_checked(self, value: bool) -> Result<Self, ()>
Bits: 19..20
Sourcepub const fn with_smap_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_smap_checked(self, value: bool) -> Result<Self, ()>
Bits: 20..21
Sourcepub const fn avx512_ifma(&self) -> bool
pub const fn avx512_ifma(&self) -> bool
Bits: 21..22
Sourcepub const fn with_avx512_ifma_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_avx512_ifma_checked(self, value: bool) -> Result<Self, ()>
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 const fn set_avx512_ifma(&mut self, value: bool)
pub const 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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_clflushopt_checked(self, value: bool) -> Result<Self, ()>
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 const fn set_clflushopt(&mut self, value: bool)
pub const fn set_clflushopt(&mut self, value: bool)
Bits: 23..24
Sourcepub const fn with_clwb_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_clwb_checked(self, value: bool) -> Result<Self, ()>
Bits: 24..25
Sourcepub const fn with_ipt_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ipt_checked(self, value: bool) -> Result<Self, ()>
Bits: 25..26
Sourcepub const fn with_avx512cd_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_avx512cd_checked(self, value: bool) -> Result<Self, ()>
Bits: 28..29
Sourcepub const fn with_avx512cd(self, value: bool) -> Self
pub const fn with_avx512cd(self, value: bool) -> Self
Bits: 28..29
Sourcepub const fn set_avx512cd(&mut self, value: bool)
pub const fn set_avx512cd(&mut self, value: bool)
Bits: 28..29
Sourcepub const fn with_sha_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_sha_checked(self, value: bool) -> Result<Self, ()>
Bits: 29..30
Sourcepub const fn with_avx512bw_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_avx512bw_checked(self, value: bool) -> Result<Self, ()>
Bits: 30..31
Sourcepub const fn with_avx512bw(self, value: bool) -> Self
pub const fn with_avx512bw(self, value: bool) -> Self
Bits: 30..31
Sourcepub const fn set_avx512bw(&mut self, value: bool)
pub const fn set_avx512bw(&mut self, value: bool)
Bits: 30..31
Sourcepub const fn with_avx512vl_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_avx512vl_checked(self, value: bool) -> Result<Self, ()>
Bits: 31..32
Sourcepub const fn with_avx512vl(self, value: bool) -> Self
pub const fn with_avx512vl(self, value: bool) -> Self
Bits: 31..32
Sourcepub const fn set_avx512vl(&mut self, value: bool)
pub const 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