Struct pfm_sys::pfm_perf_encode_arg_t
source · #[repr(C)]pub struct pfm_perf_encode_arg_t {
pub attr: *mut perf_event_attr,
pub fstr: *mut *mut c_char,
pub size: usize,
pub idx: c_int,
pub cpu: c_int,
pub flags: c_int,
pub pad0: c_int,
}
Fields§
§attr: *mut perf_event_attr
§fstr: *mut *mut c_char
§size: usize
§idx: c_int
§cpu: c_int
§flags: c_int
§pad0: c_int
Trait Implementations§
source§impl Clone for pfm_perf_encode_arg_t
impl Clone for pfm_perf_encode_arg_t
source§fn clone(&self) -> pfm_perf_encode_arg_t
fn clone(&self) -> pfm_perf_encode_arg_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_perf_encode_arg_t
impl Debug for pfm_perf_encode_arg_t
impl Copy for pfm_perf_encode_arg_t
Auto Trait Implementations§
impl RefUnwindSafe for pfm_perf_encode_arg_t
impl !Send for pfm_perf_encode_arg_t
impl !Sync for pfm_perf_encode_arg_t
impl Unpin for pfm_perf_encode_arg_t
impl UnwindSafe for pfm_perf_encode_arg_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