Struct x86defs::cpuid::VersionAndFeaturesEbx
source · pub struct VersionAndFeaturesEbx(/* private fields */);
Implementations§
source§impl VersionAndFeaturesEbx
impl VersionAndFeaturesEbx
sourcepub const fn brand_index(&self) -> u8
pub const fn brand_index(&self) -> u8
Bits: 0..8
sourcepub const fn with_brand_index(self, value: u8) -> Self
pub const fn with_brand_index(self, value: u8) -> Self
Bits: 0..8
sourcepub fn set_brand_index(&mut self, value: u8)
pub fn set_brand_index(&mut self, value: u8)
Bits: 0..8
sourcepub const fn clflush_line_size(&self) -> u8
pub const fn clflush_line_size(&self) -> u8
Bits: 8..16
sourcepub const fn with_clflush_line_size(self, value: u8) -> Self
pub const fn with_clflush_line_size(self, value: u8) -> Self
Bits: 8..16
sourcepub fn set_clflush_line_size(&mut self, value: u8)
pub fn set_clflush_line_size(&mut self, value: u8)
Bits: 8..16
sourcepub const fn lps_per_package(&self) -> u8
pub const fn lps_per_package(&self) -> u8
Bits: 16..24
sourcepub const fn with_lps_per_package(self, value: u8) -> Self
pub const fn with_lps_per_package(self, value: u8) -> Self
Bits: 16..24
sourcepub fn set_lps_per_package(&mut self, value: u8)
pub fn set_lps_per_package(&mut self, value: u8)
Bits: 16..24
sourcepub const fn initial_apic_id(&self) -> u8
pub const fn initial_apic_id(&self) -> u8
Bits: 24..32
sourcepub const fn with_initial_apic_id(self, value: u8) -> Self
pub const fn with_initial_apic_id(self, value: u8) -> Self
Bits: 24..32
sourcepub fn set_initial_apic_id(&mut self, value: u8)
pub fn set_initial_apic_id(&mut self, value: u8)
Bits: 24..32
Trait Implementations§
source§impl Clone for VersionAndFeaturesEbx
impl Clone for VersionAndFeaturesEbx
source§fn clone(&self) -> VersionAndFeaturesEbx
fn clone(&self) -> VersionAndFeaturesEbx
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 VersionAndFeaturesEbx
impl Debug for VersionAndFeaturesEbx
source§impl Default for VersionAndFeaturesEbx
impl Default for VersionAndFeaturesEbx
source§impl From<VersionAndFeaturesEbx> for u32
impl From<VersionAndFeaturesEbx> for u32
source§fn from(v: VersionAndFeaturesEbx) -> u32
fn from(v: VersionAndFeaturesEbx) -> u32
Converts to this type from the input type.
source§impl From<u32> for VersionAndFeaturesEbx
impl From<u32> for VersionAndFeaturesEbx
impl Copy for VersionAndFeaturesEbx
Auto Trait Implementations§
impl Freeze for VersionAndFeaturesEbx
impl RefUnwindSafe for VersionAndFeaturesEbx
impl Send for VersionAndFeaturesEbx
impl Sync for VersionAndFeaturesEbx
impl Unpin for VersionAndFeaturesEbx
impl UnwindSafe for VersionAndFeaturesEbx
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
)