Struct pfm_sys::perf_event_mmap_page [−][src]
#[repr(C)]pub struct perf_event_mmap_page {}Show fields
pub version: u32, pub compat_version: u32, pub lock: u32, pub index: u32, pub offset: i64, pub time_enabled: u64, pub time_running: u64, pub __bindgen_anon_1: perf_event_mmap_page__bindgen_ty_1, pub pmc_width: u16, pub time_shift: u16, pub time_mult: u32, pub time_offset: u64, pub time_zero: u64, pub size: u32, pub __reserved: [u8; 948], pub data_head: u64, pub data_tail: u64, pub data_offset: u64, pub data_size: u64, pub aux_head: u64, pub aux_tail: u64, pub aux_offset: u64, pub aux_size: u64,
Fields
version: u32
compat_version: u32
lock: u32
index: u32
offset: i64
time_enabled: u64
time_running: u64
__bindgen_anon_1: perf_event_mmap_page__bindgen_ty_1
pmc_width: u16
time_shift: u16
time_mult: u32
time_offset: u64
time_zero: u64
size: u32
__reserved: [u8; 948]
data_head: u64
data_tail: u64
data_offset: u64
data_size: u64
aux_head: u64
aux_tail: u64
aux_offset: u64
aux_size: u64
Trait Implementations
impl Clone for perf_event_mmap_page
[src]
impl Clone for perf_event_mmap_page
[src]fn clone(&self) -> perf_event_mmap_page
[src]
fn clone(&self) -> perf_event_mmap_page
[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 Copy for perf_event_mmap_page
[src]
Auto Trait Implementations
impl RefUnwindSafe for perf_event_mmap_page
impl Send for perf_event_mmap_page
impl Sync for perf_event_mmap_page
impl Unpin for perf_event_mmap_page
impl UnwindSafe for perf_event_mmap_page
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