#[repr(C)]pub struct PerfEventAttrSize(pub u32);Expand description
Values for PerfEventAttr.Size.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for PerfEventAttrSize
impl Clone for PerfEventAttrSize
Source§fn clone(&self) -> PerfEventAttrSize
fn clone(&self) -> PerfEventAttrSize
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 PerfEventAttrSize
impl Debug for PerfEventAttrSize
Source§impl Default for PerfEventAttrSize
impl Default for PerfEventAttrSize
Source§fn default() -> PerfEventAttrSize
fn default() -> PerfEventAttrSize
Returns the “default value” for a type. Read more
Source§impl From<PerfEventAttrSize> for u32
impl From<PerfEventAttrSize> for u32
Source§fn from(val: PerfEventAttrSize) -> Self
fn from(val: PerfEventAttrSize) -> Self
Converts to this type from the input type.
Source§impl From<u32> for PerfEventAttrSize
impl From<u32> for PerfEventAttrSize
Source§impl Hash for PerfEventAttrSize
impl Hash for PerfEventAttrSize
Source§impl Ord for PerfEventAttrSize
impl Ord for PerfEventAttrSize
Source§fn cmp(&self, other: &PerfEventAttrSize) -> Ordering
fn cmp(&self, other: &PerfEventAttrSize) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PerfEventAttrSize
impl PartialEq for PerfEventAttrSize
Source§impl PartialOrd for PerfEventAttrSize
impl PartialOrd for PerfEventAttrSize
impl Copy for PerfEventAttrSize
impl Eq for PerfEventAttrSize
impl StructuralPartialEq for PerfEventAttrSize
Auto Trait Implementations§
impl Freeze for PerfEventAttrSize
impl RefUnwindSafe for PerfEventAttrSize
impl Send for PerfEventAttrSize
impl Sync for PerfEventAttrSize
impl Unpin for PerfEventAttrSize
impl UnwindSafe for PerfEventAttrSize
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