Struct x86defs::cpuid::ExtendedVersionAndFeaturesEax
source · pub struct ExtendedVersionAndFeaturesEax(/* private fields */);
Implementations§
source§impl ExtendedVersionAndFeaturesEax
impl ExtendedVersionAndFeaturesEax
sourcepub const fn processor_stepping(&self) -> u32
pub const fn processor_stepping(&self) -> u32
Bits: 0..4
sourcepub const fn with_processor_stepping(self, value: u32) -> Self
pub const fn with_processor_stepping(self, value: u32) -> Self
Bits: 0..4
sourcepub fn set_processor_stepping(&mut self, value: u32)
pub fn set_processor_stepping(&mut self, value: u32)
Bits: 0..4
sourcepub const fn processor_model(&self) -> u32
pub const fn processor_model(&self) -> u32
Bits: 4..8
sourcepub const fn with_processor_model(self, value: u32) -> Self
pub const fn with_processor_model(self, value: u32) -> Self
Bits: 4..8
sourcepub fn set_processor_model(&mut self, value: u32)
pub fn set_processor_model(&mut self, value: u32)
Bits: 4..8
sourcepub const fn processor_family(&self) -> u32
pub const fn processor_family(&self) -> u32
Bits: 8..12
sourcepub const fn with_processor_family(self, value: u32) -> Self
pub const fn with_processor_family(self, value: u32) -> Self
Bits: 8..12
sourcepub fn set_processor_family(&mut self, value: u32)
pub fn set_processor_family(&mut self, value: u32)
Bits: 8..12
sourcepub const fn processor_type(&self) -> u32
pub const fn processor_type(&self) -> u32
Bits: 12..14
sourcepub const fn with_processor_type(self, value: u32) -> Self
pub const fn with_processor_type(self, value: u32) -> Self
Bits: 12..14
sourcepub fn set_processor_type(&mut self, value: u32)
pub fn set_processor_type(&mut self, value: u32)
Bits: 12..14
sourcepub const fn extended_model(&self) -> u32
pub const fn extended_model(&self) -> u32
Bits: 16..20
sourcepub const fn with_extended_model(self, value: u32) -> Self
pub const fn with_extended_model(self, value: u32) -> Self
Bits: 16..20
sourcepub fn set_extended_model(&mut self, value: u32)
pub fn set_extended_model(&mut self, value: u32)
Bits: 16..20
sourcepub const fn extended_family(&self) -> u8
pub const fn extended_family(&self) -> u8
Bits: 20..28
sourcepub const fn with_extended_family(self, value: u8) -> Self
pub const fn with_extended_family(self, value: u8) -> Self
Bits: 20..28
sourcepub fn set_extended_family(&mut self, value: u8)
pub fn set_extended_family(&mut self, value: u8)
Bits: 20..28
Trait Implementations§
source§impl Clone for ExtendedVersionAndFeaturesEax
impl Clone for ExtendedVersionAndFeaturesEax
source§fn clone(&self) -> ExtendedVersionAndFeaturesEax
fn clone(&self) -> ExtendedVersionAndFeaturesEax
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<ExtendedVersionAndFeaturesEax> for u32
impl From<ExtendedVersionAndFeaturesEax> for u32
source§fn from(v: ExtendedVersionAndFeaturesEax) -> u32
fn from(v: ExtendedVersionAndFeaturesEax) -> u32
Converts to this type from the input type.
source§impl From<u32> for ExtendedVersionAndFeaturesEax
impl From<u32> for ExtendedVersionAndFeaturesEax
impl Copy for ExtendedVersionAndFeaturesEax
Auto Trait Implementations§
impl Freeze for ExtendedVersionAndFeaturesEax
impl RefUnwindSafe for ExtendedVersionAndFeaturesEax
impl Send for ExtendedVersionAndFeaturesEax
impl Sync for ExtendedVersionAndFeaturesEax
impl Unpin for ExtendedVersionAndFeaturesEax
impl UnwindSafe for ExtendedVersionAndFeaturesEax
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
)