#[repr(u32)]pub enum perf_hw_cache_op_id {
PERF_COUNT_HW_CACHE_OP_READ = 0,
PERF_COUNT_HW_CACHE_OP_WRITE = 1,
PERF_COUNT_HW_CACHE_OP_PREFETCH = 2,
PERF_COUNT_HW_CACHE_OP_MAX = 3,
}
Variants§
PERF_COUNT_HW_CACHE_OP_READ = 0
PERF_COUNT_HW_CACHE_OP_WRITE = 1
PERF_COUNT_HW_CACHE_OP_PREFETCH = 2
PERF_COUNT_HW_CACHE_OP_MAX = 3
Trait Implementations§
Source§impl Clone for perf_hw_cache_op_id
impl Clone for perf_hw_cache_op_id
Source§fn clone(&self) -> perf_hw_cache_op_id
fn clone(&self) -> perf_hw_cache_op_id
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for perf_hw_cache_op_id
impl Debug for perf_hw_cache_op_id
Source§impl Hash for perf_hw_cache_op_id
impl Hash for perf_hw_cache_op_id
Source§impl PartialEq for perf_hw_cache_op_id
impl PartialEq for perf_hw_cache_op_id
impl Copy for perf_hw_cache_op_id
impl Eq for perf_hw_cache_op_id
impl StructuralPartialEq for perf_hw_cache_op_id
Auto Trait Implementations§
impl Freeze for perf_hw_cache_op_id
impl RefUnwindSafe for perf_hw_cache_op_id
impl Send for perf_hw_cache_op_id
impl Sync for perf_hw_cache_op_id
impl Unpin for perf_hw_cache_op_id
impl UnwindSafe for perf_hw_cache_op_id
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.