Struct x86defs::cpuid::ExtendedVersionAndFeaturesEdx
source · pub struct ExtendedVersionAndFeaturesEdx(/* private fields */);
Implementations§
source§impl ExtendedVersionAndFeaturesEdx
impl ExtendedVersionAndFeaturesEdx
sourcepub const fn with_syscall(self, value: bool) -> Self
pub const fn with_syscall(self, value: bool) -> Self
Bits: 11..12
sourcepub fn set_syscall(&mut self, value: bool)
pub fn set_syscall(&mut self, value: bool)
Bits: 11..12
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(self, value: bool) -> Self
pub const fn with_no_execute(self, value: bool) -> Self
Bits: 20..21
sourcepub fn set_no_execute(&mut self, value: bool)
pub fn set_no_execute(&mut self, value: bool)
Bits: 20..21
sourcepub const fn with_amd_mmx(self, value: bool) -> Self
pub const fn with_amd_mmx(self, value: bool) -> Self
Bits: 22..23
sourcepub fn set_amd_mmx(&mut self, value: bool)
pub fn set_amd_mmx(&mut self, value: bool)
Bits: 22..23
sourcepub const fn with_fast_fxsr(self, value: bool) -> Self
pub const fn with_fast_fxsr(self, value: bool) -> Self
Bits: 25..26
sourcepub fn set_fast_fxsr(&mut self, value: bool)
pub fn set_fast_fxsr(&mut self, value: bool)
Bits: 25..26
sourcepub const fn with_page_1gb(self, value: bool) -> Self
pub const fn with_page_1gb(self, value: bool) -> Self
Bits: 26..27
sourcepub fn set_page_1gb(&mut self, value: bool)
pub fn set_page_1gb(&mut self, value: bool)
Bits: 26..27
sourcepub const fn with_rdtscp(self, value: bool) -> Self
pub const fn with_rdtscp(self, value: bool) -> Self
Bits: 27..28
sourcepub fn set_rdtscp(&mut self, value: bool)
pub fn set_rdtscp(&mut self, value: bool)
Bits: 27..28
sourcepub const fn with_long_mode(self, value: bool) -> Self
pub const fn with_long_mode(self, value: bool) -> Self
Bits: 29..30
sourcepub fn set_long_mode(&mut self, value: bool)
pub 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(self, value: bool) -> Self
pub const fn with_extended3d_now(self, value: bool) -> Self
Bits: 30..31
sourcepub fn set_extended3d_now(&mut self, value: bool)
pub fn set_extended3d_now(&mut self, value: bool)
Bits: 30..31
sourcepub const fn with_amd3d_now(self, value: bool) -> Self
pub const fn with_amd3d_now(self, value: bool) -> Self
Bits: 31..32
sourcepub fn set_amd3d_now(&mut self, value: bool)
pub 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
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
)