#[repr(transparent)]pub struct CpuidFunction(pub u32);
Tuple Fields§
§0: u32
Implementations§
Source§impl CpuidFunction
impl CpuidFunction
pub const BasicMinimum: CpuidFunction
pub const VendorAndMaxFunction: CpuidFunction
pub const VersionAndFeatures: CpuidFunction
pub const CacheAndTlbInformation: CpuidFunction
pub const CacheParameters: CpuidFunction
pub const MonitorMwait: CpuidFunction
pub const PowerManagement: CpuidFunction
pub const ExtendedFeatures: CpuidFunction
pub const DirectCacheAccessParameters: CpuidFunction
pub const PerformanceMonitoring: CpuidFunction
pub const ExtendedTopologyEnumeration: CpuidFunction
pub const ExtendedStateEnumeration: CpuidFunction
pub const RdtmEnumeration: CpuidFunction
pub const RdtaEnumeration: CpuidFunction
pub const SgxEnumeration: CpuidFunction
pub const IptEnumeration: CpuidFunction
pub const CoreCrystalClockInformation: CpuidFunction
pub const NativeModelId: CpuidFunction
pub const ArchLbr: CpuidFunction
pub const TileInformation: CpuidFunction
pub const TmulInformation: CpuidFunction
pub const V2ExtendedTopologyEnumeration: CpuidFunction
pub const HistoryResetFeatures: CpuidFunction
pub const BasicMaximum: CpuidFunction
pub const IntelMaximum: CpuidFunction
pub const AmdMaximum: CpuidFunction
pub const CompatBlueBasicMaximum: CpuidFunction
pub const GuestBasicMaximum: CpuidFunction
pub const UnimplementedMinimum: CpuidFunction
pub const UnimplementedMaximum: CpuidFunction
pub const ExtendedMaxFunction: CpuidFunction
pub const ExtendedVersionAndFeatures: CpuidFunction
pub const ExtendedBrandingString1: CpuidFunction
pub const ExtendedBrandingString2: CpuidFunction
pub const ExtendedBrandingString3: CpuidFunction
pub const ExtendedL1CacheParameters: CpuidFunction
pub const ExtendedL2CacheParameters: CpuidFunction
pub const ExtendedPowerManagement: CpuidFunction
pub const ExtendedAddressSpaceSizes: CpuidFunction
pub const ExtendedIntelMaximum: CpuidFunction
pub const Extended80000009: CpuidFunction
pub const ExtendedSvmVersionAndFeatures: CpuidFunction
pub const ExtendedTlb1GBIdentifiers: CpuidFunction
pub const ExtendedOptimizationIdentifiers: CpuidFunction
pub const InstructionBasedSamplingProfiler: CpuidFunction
pub const LightweightProfilingCapabilities: CpuidFunction
pub const CacheTopologyDefinition: CpuidFunction
pub const ProcessorTopologyDefinition: CpuidFunction
pub const ExtendedSevFeatures: CpuidFunction
pub const ExtendedFeatures2: CpuidFunction
pub const ExtendedPerfmonAndDebug: CpuidFunction
pub const ExtendedCpuTopology: CpuidFunction
pub const ExtendedAmdMaximum: CpuidFunction
pub const ExtendedMaximum: CpuidFunction
Trait Implementations§
Source§impl Clone for CpuidFunction
impl Clone for CpuidFunction
Source§fn clone(&self) -> CpuidFunction
fn clone(&self) -> CpuidFunction
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 CpuidFunction
impl Debug for CpuidFunction
Source§impl FromBytes for CpuidFunctionwhere
u32: FromBytes,
impl FromBytes for CpuidFunctionwhere
u32: FromBytes,
§fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
§fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
§fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
Interprets the suffix of the given bytes as a
&Self
. Read moreSource§impl FromZeros for CpuidFunctionwhere
u32: FromZeros,
impl FromZeros for CpuidFunctionwhere
u32: FromZeros,
§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self
from zeroed bytes. Read more§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Creates a
Box<Self>
from zeroed bytes. Read more§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Creates a
Vec<Self>
from zeroed bytes. Read moreSource§impl Hash for CpuidFunction
impl Hash for CpuidFunction
Source§impl KnownLayout for CpuidFunctionwhere
Self: Sized,
impl KnownLayout for CpuidFunctionwhere
Self: Sized,
Source§type PointerMetadata = ()
type PointerMetadata = ()
The type of metadata stored in a pointer to
Self
. Read moreSource§impl Ord for CpuidFunction
impl Ord for CpuidFunction
Source§fn cmp(&self, other: &CpuidFunction) -> Ordering
fn cmp(&self, other: &CpuidFunction) -> 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 CpuidFunction
impl PartialEq for CpuidFunction
Source§impl PartialOrd for CpuidFunction
impl PartialOrd for CpuidFunction
Source§impl TryFromBytes for CpuidFunctionwhere
u32: TryFromBytes,
impl TryFromBytes for CpuidFunctionwhere
u32: TryFromBytes,
§fn try_ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
§fn try_ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
§fn try_ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for CpuidFunction
impl Eq for CpuidFunction
impl Immutable for CpuidFunctionwhere
u32: Immutable,
impl StructuralPartialEq for CpuidFunction
Auto Trait Implementations§
impl Freeze for CpuidFunction
impl RefUnwindSafe for CpuidFunction
impl Send for CpuidFunction
impl Sync for CpuidFunction
impl Unpin for CpuidFunction
impl UnwindSafe for CpuidFunction
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