#[repr(C)]pub struct perf_buffer_raw_opts {
pub attr: *mut perf_event_attr,
pub event_cb: perf_buffer_event_fn,
pub ctx: *mut c_void,
pub cpu_cnt: c_int,
pub cpus: *mut c_int,
pub map_keys: *mut c_int,
}Fields§
§attr: *mut perf_event_attr§event_cb: perf_buffer_event_fn§ctx: *mut c_void§cpu_cnt: c_int§cpus: *mut c_int§map_keys: *mut c_intTrait Implementations§
Source§impl Clone for perf_buffer_raw_opts
impl Clone for perf_buffer_raw_opts
Source§fn clone(&self) -> perf_buffer_raw_opts
fn clone(&self) -> perf_buffer_raw_opts
Returns a duplicate 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 perf_buffer_raw_opts
impl Debug for perf_buffer_raw_opts
impl Copy for perf_buffer_raw_opts
Auto Trait Implementations§
impl Freeze for perf_buffer_raw_opts
impl RefUnwindSafe for perf_buffer_raw_opts
impl !Send for perf_buffer_raw_opts
impl !Sync for perf_buffer_raw_opts
impl Unpin for perf_buffer_raw_opts
impl UnwindSafe for perf_buffer_raw_opts
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