pub struct CacheInfo {
pub num: u8,
pub typ: CacheInfoType,
}
Expand description
Describes any kind of cache (TLB, Data and Instruction caches plus prefetchers).
Fields§
§num: u8
Number as retrieved from cpuid
typ: CacheInfoType
Cache type
Implementations§
Trait Implementations§
impl Copy for CacheInfo
Auto Trait Implementations§
impl Freeze for CacheInfo
impl RefUnwindSafe for CacheInfo
impl Send for CacheInfo
impl Sync for CacheInfo
impl Unpin for CacheInfo
impl UnwindSafe for CacheInfo
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
)