Enum pfm_sys::perf_type_id
source · #[repr(u32)]pub enum perf_type_id {
PERF_TYPE_HARDWARE = 0,
PERF_TYPE_SOFTWARE = 1,
PERF_TYPE_TRACEPOINT = 2,
PERF_TYPE_HW_CACHE = 3,
PERF_TYPE_RAW = 4,
PERF_TYPE_BREAKPOINT = 5,
PERF_TYPE_MAX = 6,
}
Variants§
PERF_TYPE_HARDWARE = 0
PERF_TYPE_SOFTWARE = 1
PERF_TYPE_TRACEPOINT = 2
PERF_TYPE_HW_CACHE = 3
PERF_TYPE_RAW = 4
PERF_TYPE_BREAKPOINT = 5
PERF_TYPE_MAX = 6
Trait Implementations§
source§impl Clone for perf_type_id
impl Clone for perf_type_id
source§fn clone(&self) -> perf_type_id
fn clone(&self) -> perf_type_id
Returns a copy 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_type_id
impl Debug for perf_type_id
source§impl Hash for perf_type_id
impl Hash for perf_type_id
source§impl PartialEq for perf_type_id
impl PartialEq for perf_type_id
source§fn eq(&self, other: &perf_type_id) -> bool
fn eq(&self, other: &perf_type_id) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for perf_type_id
impl Eq for perf_type_id
impl StructuralEq for perf_type_id
impl StructuralPartialEq for perf_type_id
Auto Trait Implementations§
impl RefUnwindSafe for perf_type_id
impl Send for perf_type_id
impl Sync for perf_type_id
impl Unpin for perf_type_id
impl UnwindSafe for perf_type_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