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 RefUnwindSafe for CacheInfo
impl Send for CacheInfo
impl Sync for CacheInfo
impl Unpin for CacheInfo
impl UnwindSafe for CacheInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more