Struct raw_cpuid::CacheInfo [] [src]

pub struct CacheInfo {
    pub num: u8,
    pub typ: CacheInfoType,
    pub desc: &'static str,
}

Describes any kind of cache (TLB, Data and Instruction caches plus prefetchers).

Fields

num: u8

Number as retrieved from cpuid

typ: CacheInfoType

Cache type

desc: &'static str

Description of the cache (from Intel Manual)

Trait Implementations

impl Debug for CacheInfo
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for CacheInfo
[src]

fn clone(&self) -> CacheInfo

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for CacheInfo
[src]

impl Display for CacheInfo
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.