Struct pfm_sys::pfm_event_info_t
source · #[repr(C)]pub struct pfm_event_info_t {
pub name: *const c_char,
pub desc: *const c_char,
pub equiv: *const c_char,
pub size: usize,
pub code: u64,
pub pmu: pfm_pmu_t,
pub dtype: pfm_dtype_t,
pub idx: c_int,
pub nattrs: c_int,
pub reserved: c_int,
pub __bindgen_anon_1: pfm_event_info_t__bindgen_ty_1,
}
Fields§
§name: *const c_char
§desc: *const c_char
§equiv: *const c_char
§size: usize
§code: u64
§pmu: pfm_pmu_t
§dtype: pfm_dtype_t
§idx: c_int
§nattrs: c_int
§reserved: c_int
§__bindgen_anon_1: pfm_event_info_t__bindgen_ty_1
Trait Implementations§
source§impl Clone for pfm_event_info_t
impl Clone for pfm_event_info_t
source§fn clone(&self) -> pfm_event_info_t
fn clone(&self) -> pfm_event_info_t
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 pfm_event_info_t
impl Debug for pfm_event_info_t
impl Copy for pfm_event_info_t
Auto Trait Implementations§
impl RefUnwindSafe for pfm_event_info_t
impl !Send for pfm_event_info_t
impl !Sync for pfm_event_info_t
impl Unpin for pfm_event_info_t
impl UnwindSafe for pfm_event_info_t
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