Struct pfm_sys::pfm_pmu_info_t
source · #[repr(C)]pub struct pfm_pmu_info_t {
pub name: *const c_char,
pub desc: *const c_char,
pub size: usize,
pub pmu: pfm_pmu_t,
pub type_: pfm_pmu_type_t,
pub nevents: c_int,
pub first_event: c_int,
pub max_encoding: c_int,
pub num_cntrs: c_int,
pub num_fixed_cntrs: c_int,
pub __bindgen_anon_1: pfm_pmu_info_t__bindgen_ty_1,
}
Fields§
§name: *const c_char
§desc: *const c_char
§size: usize
§pmu: pfm_pmu_t
§type_: pfm_pmu_type_t
§nevents: c_int
§first_event: c_int
§max_encoding: c_int
§num_cntrs: c_int
§num_fixed_cntrs: c_int
§__bindgen_anon_1: pfm_pmu_info_t__bindgen_ty_1
Trait Implementations§
source§impl Clone for pfm_pmu_info_t
impl Clone for pfm_pmu_info_t
source§fn clone(&self) -> pfm_pmu_info_t
fn clone(&self) -> pfm_pmu_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_pmu_info_t
impl Debug for pfm_pmu_info_t
impl Copy for pfm_pmu_info_t
Auto Trait Implementations§
impl RefUnwindSafe for pfm_pmu_info_t
impl !Send for pfm_pmu_info_t
impl !Sync for pfm_pmu_info_t
impl Unpin for pfm_pmu_info_t
impl UnwindSafe for pfm_pmu_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