pub struct VersionAndFeaturesEdx(/* private fields */);
Implementations§
Source§impl VersionAndFeaturesEdx
impl VersionAndFeaturesEdx
Sourcepub const fn with_fpu_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_fpu_checked(self, value: bool) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_vme_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_vme_checked(self, value: bool) -> Result<Self, ()>
Bits: 1..2
Sourcepub const fn with_de_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_de_checked(self, value: bool) -> Result<Self, ()>
Bits: 2..3
Sourcepub const fn with_pse_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pse_checked(self, value: bool) -> Result<Self, ()>
Bits: 3..4
Sourcepub const fn with_tsc_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tsc_checked(self, value: bool) -> Result<Self, ()>
Bits: 4..5
Sourcepub const fn with_msr_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_msr_checked(self, value: bool) -> Result<Self, ()>
Bits: 5..6
Sourcepub const fn with_pae_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pae_checked(self, value: bool) -> Result<Self, ()>
Bits: 6..7
Sourcepub const fn with_mce_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_mce_checked(self, value: bool) -> Result<Self, ()>
Bits: 7..8
Sourcepub const fn with_cx8_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_cx8_checked(self, value: bool) -> Result<Self, ()>
Bits: 8..9
Sourcepub const fn with_apic_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_apic_checked(self, value: bool) -> Result<Self, ()>
Bits: 9..10
Sourcepub const fn with_sep_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_sep_checked(self, value: bool) -> Result<Self, ()>
Bits: 11..12
Sourcepub const fn with_mtrr_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_mtrr_checked(self, value: bool) -> Result<Self, ()>
Bits: 12..13
Sourcepub const fn with_pge_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pge_checked(self, value: bool) -> Result<Self, ()>
Bits: 13..14
Sourcepub const fn with_mca_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_mca_checked(self, value: bool) -> Result<Self, ()>
Bits: 14..15
Sourcepub const fn with_cmov_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_cmov_checked(self, value: bool) -> Result<Self, ()>
Bits: 15..16
Sourcepub const fn with_pat_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pat_checked(self, value: bool) -> Result<Self, ()>
Bits: 16..17
Sourcepub const fn with_pse36_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pse36_checked(self, value: bool) -> Result<Self, ()>
Bits: 17..18
Sourcepub const fn with_pse36(self, value: bool) -> Self
pub const fn with_pse36(self, value: bool) -> Self
Bits: 17..18
Sourcepub const fn with_psn_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_psn_checked(self, value: bool) -> Result<Self, ()>
Bits: 18..19
Sourcepub const fn with_cl_fsh_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_cl_fsh_checked(self, value: bool) -> Result<Self, ()>
Bits: 19..20
Sourcepub const fn with_cl_fsh(self, value: bool) -> Self
pub const fn with_cl_fsh(self, value: bool) -> Self
Bits: 19..20
Sourcepub const fn set_cl_fsh(&mut self, value: bool)
pub const fn set_cl_fsh(&mut self, value: bool)
Bits: 19..20
Sourcepub const fn with_ds_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ds_checked(self, value: bool) -> Result<Self, ()>
Bits: 21..22
Sourcepub const fn with_acpi_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_acpi_checked(self, value: bool) -> Result<Self, ()>
Bits: 22..23
Sourcepub const fn with_mmx_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_mmx_checked(self, value: bool) -> Result<Self, ()>
Bits: 23..24
Sourcepub const fn with_fxsr_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_fxsr_checked(self, value: bool) -> Result<Self, ()>
Bits: 24..25
Sourcepub const fn with_sse_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_sse_checked(self, value: bool) -> Result<Self, ()>
Bits: 25..26
Sourcepub const fn with_sse2_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_sse2_checked(self, value: bool) -> Result<Self, ()>
Bits: 26..27
Sourcepub const fn with_ss_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ss_checked(self, value: bool) -> Result<Self, ()>
Bits: 27..28
Sourcepub const fn mt_per_socket(&self) -> bool
pub const fn mt_per_socket(&self) -> bool
Bits: 28..29
Sourcepub const fn with_mt_per_socket_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_mt_per_socket_checked(self, value: bool) -> Result<Self, ()>
Bits: 28..29
Sourcepub const fn with_mt_per_socket(self, value: bool) -> Self
pub const fn with_mt_per_socket(self, value: bool) -> Self
Bits: 28..29
Sourcepub const fn set_mt_per_socket(&mut self, value: bool)
pub const fn set_mt_per_socket(&mut self, value: bool)
Bits: 28..29
Sourcepub const fn with_tm_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tm_checked(self, value: bool) -> Result<Self, ()>
Bits: 29..30
Sourcepub const fn with_pbe_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pbe_checked(self, value: bool) -> Result<Self, ()>
Bits: 31..32
Trait Implementations§
Source§impl Clone for VersionAndFeaturesEdx
impl Clone for VersionAndFeaturesEdx
Source§fn clone(&self) -> VersionAndFeaturesEdx
fn clone(&self) -> VersionAndFeaturesEdx
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 VersionAndFeaturesEdx
impl Debug for VersionAndFeaturesEdx
Source§impl Default for VersionAndFeaturesEdx
impl Default for VersionAndFeaturesEdx
Source§impl From<VersionAndFeaturesEdx> for u32
impl From<VersionAndFeaturesEdx> for u32
Source§fn from(v: VersionAndFeaturesEdx) -> u32
fn from(v: VersionAndFeaturesEdx) -> u32
Converts to this type from the input type.
Source§impl From<u32> for VersionAndFeaturesEdx
impl From<u32> for VersionAndFeaturesEdx
impl Copy for VersionAndFeaturesEdx
Auto Trait Implementations§
impl Freeze for VersionAndFeaturesEdx
impl RefUnwindSafe for VersionAndFeaturesEdx
impl Send for VersionAndFeaturesEdx
impl Sync for VersionAndFeaturesEdx
impl Unpin for VersionAndFeaturesEdx
impl UnwindSafe for VersionAndFeaturesEdx
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