Struct pfm_sys::pfm_event_attr_info_t
source · #[repr(C)]pub struct pfm_event_attr_info_t {
pub name: *const c_char,
pub desc: *const c_char,
pub equiv: *const c_char,
pub size: usize,
pub code: u64,
pub type_: pfm_attr_t,
pub idx: c_int,
pub ctrl: pfm_attr_ctrl_t,
pub __bindgen_anon_1: pfm_event_attr_info_t__bindgen_ty_1,
pub __bindgen_anon_2: pfm_event_attr_info_t__bindgen_ty_2,
}
Fields§
§name: *const c_char
§desc: *const c_char
§equiv: *const c_char
§size: usize
§code: u64
§type_: pfm_attr_t
§idx: c_int
§ctrl: pfm_attr_ctrl_t
§__bindgen_anon_1: pfm_event_attr_info_t__bindgen_ty_1
§__bindgen_anon_2: pfm_event_attr_info_t__bindgen_ty_2
Trait Implementations§
source§impl Clone for pfm_event_attr_info_t
impl Clone for pfm_event_attr_info_t
source§fn clone(&self) -> pfm_event_attr_info_t
fn clone(&self) -> pfm_event_attr_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 moreimpl Copy for pfm_event_attr_info_t
Auto Trait Implementations§
impl RefUnwindSafe for pfm_event_attr_info_t
impl !Send for pfm_event_attr_info_t
impl !Sync for pfm_event_attr_info_t
impl Unpin for pfm_event_attr_info_t
impl UnwindSafe for pfm_event_attr_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