#[repr(transparent)]pub struct CPUFeature(pub u32);Expand description
A CPU feature that the query reports on. The C enumeration has no negative
values, so its type is unsigned int (ADR 0003).
Tuple Fields§
§0: u32Implementations§
Source§impl CPUFeature
impl CPUFeature
Trait Implementations§
Source§impl Clone for CPUFeature
impl Clone for CPUFeature
impl Copy for CPUFeature
Source§impl Debug for CPUFeature
impl Debug for CPUFeature
Source§impl Default for CPUFeature
impl Default for CPUFeature
impl Eq for CPUFeature
Source§impl Hash for CPUFeature
impl Hash for CPUFeature
Source§impl Ord for CPUFeature
impl Ord for CPUFeature
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CPUFeature
impl PartialEq for CPUFeature
Source§impl PartialOrd for CPUFeature
impl PartialOrd for CPUFeature
impl StructuralPartialEq for CPUFeature
Auto Trait Implementations§
impl Forget for CPUFeature
impl Freeze for CPUFeature
impl Move for CPUFeature
impl RefUnwindSafe for CPUFeature
impl Send for CPUFeature
impl Sync for CPUFeature
impl Unpin for CPUFeature
impl UnsafeUnpin for CPUFeature
impl UnwindSafe for CPUFeature
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