Struct x86defs::cpuid::CpuidFunction
source · #[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 SerialNumber: 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_prefix(bytes: &[u8]) -> Option<&Self>where
Self: Sized,
fn ref_from_prefix(bytes: &[u8]) -> Option<&Self>where
Self: Sized,
§fn ref_from_suffix(bytes: &[u8]) -> Option<&Self>where
Self: Sized,
fn ref_from_suffix(bytes: &[u8]) -> Option<&Self>where
Self: Sized,
§fn slice_from(bytes: &[u8]) -> Option<&[Self]>where
Self: Sized,
fn slice_from(bytes: &[u8]) -> Option<&[Self]>where
Self: Sized,
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeroes for CpuidFunctionwhere
u32: FromZeroes,
impl FromZeroes for CpuidFunctionwhere
u32: FromZeroes,
§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() -> Box<Self>where
Self: Sized,
fn new_box_zeroed() -> Box<Self>where
Self: Sized,
Creates a
Box<Self>
from zeroed bytes. Read moresource§impl Hash for CpuidFunction
impl Hash for CpuidFunction
source§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
impl Copy for CpuidFunction
impl Eq for CpuidFunction
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)