Struct x86defs::cpuid::CacheParametersEbx
source · pub struct CacheParametersEbx(/* private fields */);
Implementations§
source§impl CacheParametersEbx
impl CacheParametersEbx
sourcepub const fn system_coherency_line_size_minus_one(&self) -> u32
pub const fn system_coherency_line_size_minus_one(&self) -> u32
Bits: 0..12
sourcepub const fn with_system_coherency_line_size_minus_one(self, value: u32) -> Self
pub const fn with_system_coherency_line_size_minus_one(self, value: u32) -> Self
Bits: 0..12
sourcepub fn set_system_coherency_line_size_minus_one(&mut self, value: u32)
pub fn set_system_coherency_line_size_minus_one(&mut self, value: u32)
Bits: 0..12
sourcepub const fn physical_line_partitions_minus_one(&self) -> u32
pub const fn physical_line_partitions_minus_one(&self) -> u32
Bits: 12..22
sourcepub const fn with_physical_line_partitions_minus_one(self, value: u32) -> Self
pub const fn with_physical_line_partitions_minus_one(self, value: u32) -> Self
Bits: 12..22
sourcepub fn set_physical_line_partitions_minus_one(&mut self, value: u32)
pub fn set_physical_line_partitions_minus_one(&mut self, value: u32)
Bits: 12..22
sourcepub const fn ways_of_associativity_minus_one(&self) -> u32
pub const fn ways_of_associativity_minus_one(&self) -> u32
Bits: 22..32
sourcepub const fn with_ways_of_associativity_minus_one(self, value: u32) -> Self
pub const fn with_ways_of_associativity_minus_one(self, value: u32) -> Self
Bits: 22..32
sourcepub fn set_ways_of_associativity_minus_one(&mut self, value: u32)
pub fn set_ways_of_associativity_minus_one(&mut self, value: u32)
Bits: 22..32
Trait Implementations§
source§impl Clone for CacheParametersEbx
impl Clone for CacheParametersEbx
source§fn clone(&self) -> CacheParametersEbx
fn clone(&self) -> CacheParametersEbx
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 CacheParametersEbx
impl Debug for CacheParametersEbx
source§impl Default for CacheParametersEbx
impl Default for CacheParametersEbx
source§impl From<CacheParametersEbx> for u32
impl From<CacheParametersEbx> for u32
source§fn from(v: CacheParametersEbx) -> u32
fn from(v: CacheParametersEbx) -> u32
Converts to this type from the input type.
source§impl From<u32> for CacheParametersEbx
impl From<u32> for CacheParametersEbx
impl Copy for CacheParametersEbx
Auto Trait Implementations§
impl Freeze for CacheParametersEbx
impl RefUnwindSafe for CacheParametersEbx
impl Send for CacheParametersEbx
impl Sync for CacheParametersEbx
impl Unpin for CacheParametersEbx
impl UnwindSafe for CacheParametersEbx
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
)