pub struct ExtendedVersionAndFeaturesEdx(/* private fields */);
Implementations§
Source§impl ExtendedVersionAndFeaturesEdx
impl ExtendedVersionAndFeaturesEdx
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_syscall_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_syscall_checked(self, value: bool) -> Result<Self, ()>
Bits: 11..12
Sourcepub const fn with_syscall(self, value: bool) -> Self
pub const fn with_syscall(self, value: bool) -> Self
Bits: 11..12
Sourcepub const fn set_syscall(&mut self, value: bool)
pub const fn set_syscall(&mut self, value: bool)
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 no_execute(&self) -> bool
pub const fn no_execute(&self) -> bool
Bits: 20..21
Sourcepub const fn with_no_execute_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_no_execute_checked(self, value: bool) -> Result<Self, ()>
Bits: 20..21
Sourcepub const fn with_no_execute(self, value: bool) -> Self
pub const fn with_no_execute(self, value: bool) -> Self
Bits: 20..21
Sourcepub const fn set_no_execute(&mut self, value: bool)
pub const fn set_no_execute(&mut self, value: bool)
Bits: 20..21
Sourcepub const fn with_amd_mmx_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_amd_mmx_checked(self, value: bool) -> Result<Self, ()>
Bits: 22..23
Sourcepub const fn with_amd_mmx(self, value: bool) -> Self
pub const fn with_amd_mmx(self, value: bool) -> Self
Bits: 22..23
Sourcepub const fn set_amd_mmx(&mut self, value: bool)
pub const fn set_amd_mmx(&mut self, value: bool)
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_fast_fxsr_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_fast_fxsr_checked(self, value: bool) -> Result<Self, ()>
Bits: 25..26
Sourcepub const fn with_fast_fxsr(self, value: bool) -> Self
pub const fn with_fast_fxsr(self, value: bool) -> Self
Bits: 25..26
Sourcepub const fn set_fast_fxsr(&mut self, value: bool)
pub const fn set_fast_fxsr(&mut self, value: bool)
Bits: 25..26
Sourcepub const fn with_page_1gb_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_page_1gb_checked(self, value: bool) -> Result<Self, ()>
Bits: 26..27
Sourcepub const fn with_page_1gb(self, value: bool) -> Self
pub const fn with_page_1gb(self, value: bool) -> Self
Bits: 26..27
Sourcepub const fn set_page_1gb(&mut self, value: bool)
pub const fn set_page_1gb(&mut self, value: bool)
Bits: 26..27
Sourcepub const fn with_rdtscp_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_rdtscp_checked(self, value: bool) -> Result<Self, ()>
Bits: 27..28
Sourcepub const fn with_rdtscp(self, value: bool) -> Self
pub const fn with_rdtscp(self, value: bool) -> Self
Bits: 27..28
Sourcepub const fn set_rdtscp(&mut self, value: bool)
pub const fn set_rdtscp(&mut self, value: bool)
Bits: 27..28
Sourcepub const fn with_long_mode_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_long_mode_checked(self, value: bool) -> Result<Self, ()>
Bits: 29..30
Sourcepub const fn with_long_mode(self, value: bool) -> Self
pub const fn with_long_mode(self, value: bool) -> Self
Bits: 29..30
Sourcepub const fn set_long_mode(&mut self, value: bool)
pub const fn set_long_mode(&mut self, value: bool)
Bits: 29..30
Sourcepub const fn extended3d_now(&self) -> bool
pub const fn extended3d_now(&self) -> bool
Bits: 30..31
Sourcepub const fn with_extended3d_now_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_extended3d_now_checked(self, value: bool) -> Result<Self, ()>
Bits: 30..31
Sourcepub const fn with_extended3d_now(self, value: bool) -> Self
pub const fn with_extended3d_now(self, value: bool) -> Self
Bits: 30..31
Sourcepub const fn set_extended3d_now(&mut self, value: bool)
pub const fn set_extended3d_now(&mut self, value: bool)
Bits: 30..31
Sourcepub const fn set_extended3d_now_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_extended3d_now_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 30..31
Sourcepub const fn with_amd3d_now_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_amd3d_now_checked(self, value: bool) -> Result<Self, ()>
Bits: 31..32
Sourcepub const fn with_amd3d_now(self, value: bool) -> Self
pub const fn with_amd3d_now(self, value: bool) -> Self
Bits: 31..32
Sourcepub const fn set_amd3d_now(&mut self, value: bool)
pub const fn set_amd3d_now(&mut self, value: bool)
Bits: 31..32
Trait Implementations§
Source§impl Clone for ExtendedVersionAndFeaturesEdx
impl Clone for ExtendedVersionAndFeaturesEdx
Source§fn clone(&self) -> ExtendedVersionAndFeaturesEdx
fn clone(&self) -> ExtendedVersionAndFeaturesEdx
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<ExtendedVersionAndFeaturesEdx> for u32
impl From<ExtendedVersionAndFeaturesEdx> for u32
Source§fn from(v: ExtendedVersionAndFeaturesEdx) -> u32
fn from(v: ExtendedVersionAndFeaturesEdx) -> u32
Converts to this type from the input type.
Source§impl From<u32> for ExtendedVersionAndFeaturesEdx
impl From<u32> for ExtendedVersionAndFeaturesEdx
impl Copy for ExtendedVersionAndFeaturesEdx
Auto Trait Implementations§
impl Freeze for ExtendedVersionAndFeaturesEdx
impl RefUnwindSafe for ExtendedVersionAndFeaturesEdx
impl Send for ExtendedVersionAndFeaturesEdx
impl Sync for ExtendedVersionAndFeaturesEdx
impl Unpin for ExtendedVersionAndFeaturesEdx
impl UnwindSafe for ExtendedVersionAndFeaturesEdx
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