Enum cache_size::CacheType [−][src]
pub enum CacheType {
Data,
Instruction,
Unified,
}All different types of cache
This is just a thin wrapper over raw_cpuid::CacheType listing only the
interesting possible types, and using more user-friendly CameCase names.
Variants
DataData cache
InstructionInstruction cache
UnifiedUnified Data + Instruction cache
Trait Implementations
impl Debug for CacheType[src]
impl Debug for CacheTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for CacheType[src]
impl Copy for CacheTypeimpl Clone for CacheType[src]
impl Clone for CacheTypefn clone(&self) -> CacheType[src]
fn clone(&self) -> CacheTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for CacheType[src]
impl PartialEq for CacheTypefn eq(&self, other: &CacheType) -> bool[src]
fn eq(&self, other: &CacheType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for CacheType[src]
impl Eq for CacheTypeimpl Into<CacheType> for CacheType[src]
impl Into<CacheType> for CacheType