Struct pfm_sys::pfm_perf_encode_arg_t [−][src]
#[repr(C)]pub struct pfm_perf_encode_arg_t { pub attr: *mut perf_event_attr, pub fstr: *mut *mut c_char, pub size: size_t, 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: size_t
idx: c_int
cpu: c_int
flags: c_int
pad0: c_int
Trait Implementations
impl Clone for pfm_perf_encode_arg_t
[src]
impl Clone for pfm_perf_encode_arg_t
[src]fn clone(&self) -> pfm_perf_encode_arg_t
[src]
fn clone(&self) -> pfm_perf_encode_arg_t
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for pfm_perf_encode_arg_t
[src]
impl Debug for pfm_perf_encode_arg_t
[src]impl Copy for pfm_perf_encode_arg_t
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more