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
Data
Data cache
Instruction
Instruction cache
Unified
Unified Data + Instruction cache
Trait Implementations
impl Debug for CacheType
[src]
impl Debug for CacheType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for CacheType
[src]
impl Copy for CacheType
impl Clone for CacheType
[src]
impl Clone for CacheType
fn clone(&self) -> CacheType
[src]
fn clone(&self) -> CacheType
Returns 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 CacheType
fn eq(&self, other: &CacheType) -> bool
[src]
fn eq(&self, other: &CacheType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for CacheType
[src]
impl Eq for CacheType
impl Into<CacheType> for CacheType
[src]
impl Into<CacheType> for CacheType