This is supported on x86-64 only.
Expand description
Result of the cpuid
instruction.
Fields
eax: u32
EAX register.
ebx: u32
EBX register.
ecx: u32
ECX register.
edx: u32
EDX register.
Trait Implementations
sourceimpl Clone for CpuidResult
This is supported on x86 or x86-64 only.
impl Clone for CpuidResult
This is supported on x86 or x86-64 only.
sourcefn clone(&self) -> CpuidResult
fn clone(&self) -> CpuidResult
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
sourceimpl Debug for CpuidResult
This is supported on x86 or x86-64 only.
impl Debug for CpuidResult
This is supported on x86 or x86-64 only.
sourceimpl Ord for CpuidResult
This is supported on x86 or x86-64 only.
impl Ord for CpuidResult
This is supported on x86 or x86-64 only.
sourcefn cmp(&self, other: &CpuidResult) -> Ordering
fn cmp(&self, other: &CpuidResult) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self where
Self: Sized,
fn max(self, other: Self) -> Self where
Self: Sized,
Compares and returns the maximum of two values. Read more
sourceimpl PartialEq<CpuidResult> for CpuidResult
This is supported on x86 or x86-64 only.
impl PartialEq<CpuidResult> for CpuidResult
This is supported on x86 or x86-64 only.
sourcefn eq(&self, other: &CpuidResult) -> bool
fn eq(&self, other: &CpuidResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CpuidResult) -> bool
fn ne(&self, other: &CpuidResult) -> bool
This method tests for !=
.
sourceimpl PartialOrd<CpuidResult> for CpuidResult
This is supported on x86 or x86-64 only.
impl PartialOrd<CpuidResult> for CpuidResult
This is supported on x86 or x86-64 only.
sourcefn partial_cmp(&self, other: &CpuidResult) -> Option<Ordering>
fn partial_cmp(&self, other: &CpuidResult) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for CpuidResult
This is supported on x86 or x86-64 only.
impl Eq for CpuidResult
This is supported on x86 or x86-64 only.
impl StructuralEq for CpuidResult
This is supported on x86 or x86-64 only.
impl StructuralPartialEq for CpuidResult
This is supported on x86 or x86-64 only.
Auto Trait Implementations
impl RefUnwindSafe for CpuidResult
impl Send for CpuidResult
impl Sync for CpuidResult
impl Unpin for CpuidResult
impl UnwindSafe for CpuidResult
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