Struct x86defs::cpuid::CacheParametersEdx
source · pub struct CacheParametersEdx(/* private fields */);
Implementations§
source§impl CacheParametersEdx
impl CacheParametersEdx
sourcepub const fn wbinvd_behavior(&self) -> bool
pub const fn wbinvd_behavior(&self) -> bool
Bits: 0..1
sourcepub const fn with_wbinvd_behavior(self, value: bool) -> Self
pub const fn with_wbinvd_behavior(self, value: bool) -> Self
Bits: 0..1
sourcepub fn set_wbinvd_behavior(&mut self, value: bool)
pub fn set_wbinvd_behavior(&mut self, value: bool)
Bits: 0..1
sourcepub const fn cache_inclusiveness(&self) -> bool
pub const fn cache_inclusiveness(&self) -> bool
Bits: 1..2
sourcepub const fn with_cache_inclusiveness(self, value: bool) -> Self
pub const fn with_cache_inclusiveness(self, value: bool) -> Self
Bits: 1..2
sourcepub fn set_cache_inclusiveness(&mut self, value: bool)
pub fn set_cache_inclusiveness(&mut self, value: bool)
Bits: 1..2
sourcepub const fn with_reserved(self, value: u32) -> Self
pub const fn with_reserved(self, value: u32) -> Self
Bits: 2..32
sourcepub fn set_reserved(&mut self, value: u32)
pub fn set_reserved(&mut self, value: u32)
Bits: 2..32
Trait Implementations§
source§impl Clone for CacheParametersEdx
impl Clone for CacheParametersEdx
source§fn clone(&self) -> CacheParametersEdx
fn clone(&self) -> CacheParametersEdx
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 CacheParametersEdx
impl Debug for CacheParametersEdx
source§impl Default for CacheParametersEdx
impl Default for CacheParametersEdx
source§impl From<CacheParametersEdx> for u32
impl From<CacheParametersEdx> for u32
source§fn from(v: CacheParametersEdx) -> u32
fn from(v: CacheParametersEdx) -> u32
Converts to this type from the input type.
source§impl From<u32> for CacheParametersEdx
impl From<u32> for CacheParametersEdx
impl Copy for CacheParametersEdx
Auto Trait Implementations§
impl Freeze for CacheParametersEdx
impl RefUnwindSafe for CacheParametersEdx
impl Send for CacheParametersEdx
impl Sync for CacheParametersEdx
impl Unpin for CacheParametersEdx
impl UnwindSafe for CacheParametersEdx
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
)