Struct x86defs::cpuid::VersionAndFeaturesEax
source · pub struct VersionAndFeaturesEax(/* private fields */);
Implementations§
source§impl VersionAndFeaturesEax
impl VersionAndFeaturesEax
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 VersionAndFeaturesEax
impl Clone for VersionAndFeaturesEax
source§fn clone(&self) -> VersionAndFeaturesEax
fn clone(&self) -> VersionAndFeaturesEax
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 VersionAndFeaturesEax
impl Debug for VersionAndFeaturesEax
source§impl Default for VersionAndFeaturesEax
impl Default for VersionAndFeaturesEax
source§impl From<VersionAndFeaturesEax> for u32
impl From<VersionAndFeaturesEax> for u32
source§fn from(v: VersionAndFeaturesEax) -> u32
fn from(v: VersionAndFeaturesEax) -> u32
Converts to this type from the input type.
source§impl From<u32> for VersionAndFeaturesEax
impl From<u32> for VersionAndFeaturesEax
impl Copy for VersionAndFeaturesEax
Auto Trait Implementations§
impl Freeze for VersionAndFeaturesEax
impl RefUnwindSafe for VersionAndFeaturesEax
impl Send for VersionAndFeaturesEax
impl Sync for VersionAndFeaturesEax
impl Unpin for VersionAndFeaturesEax
impl UnwindSafe for VersionAndFeaturesEax
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
)