#[repr(C)]
pub union perf_event_attr__bindgen_ty_1 {
pub sample_period: __u64,
pub sample_freq: __u64,
}
Fields
sample_period: __u64
sample_freq: __u64
Trait Implementations
sourceimpl Clone for perf_event_attr__bindgen_ty_1
impl Clone for perf_event_attr__bindgen_ty_1
sourcefn clone(&self) -> perf_event_attr__bindgen_ty_1
fn clone(&self) -> perf_event_attr__bindgen_ty_1
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for perf_event_attr__bindgen_ty_1
Auto Trait Implementations
impl RefUnwindSafe for perf_event_attr__bindgen_ty_1
impl Send for perf_event_attr__bindgen_ty_1
impl Sync for perf_event_attr__bindgen_ty_1
impl Unpin for perf_event_attr__bindgen_ty_1
impl UnwindSafe for perf_event_attr__bindgen_ty_1
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more