#[repr(C)]pub struct perf_event_header {
pub type_: __u32,
pub misc: __u16,
pub size: __u16,
}
Fields§
§type_: __u32
§misc: __u16
§size: __u16
Trait Implementations§
Source§impl Clone for perf_event_header
impl Clone for perf_event_header
Source§fn clone(&self) -> perf_event_header
fn clone(&self) -> perf_event_header
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 perf_event_header
impl Debug for perf_event_header
Source§impl Default for perf_event_header
impl Default for perf_event_header
Source§fn default() -> perf_event_header
fn default() -> perf_event_header
Returns the “default value” for a type. Read more
impl Copy for perf_event_header
Auto Trait Implementations§
impl Freeze for perf_event_header
impl RefUnwindSafe for perf_event_header
impl Send for perf_event_header
impl Sync for perf_event_header
impl Unpin for perf_event_header
impl UnwindSafe for perf_event_header
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)