Available on x86-64 and (x86 or 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
impl Clone for CpuidResult
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
impl Debug for CpuidResult
sourceimpl Ord for CpuidResult
impl Ord for CpuidResult
sourcefn cmp(&self, other: &CpuidResult) -> Ordering
fn cmp(&self, other: &CpuidResult) -> Ordering
1.21.0 · sourcefn 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 · sourcefn 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
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized,
Self: PartialOrd,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized,
Self: PartialOrd,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<CpuidResult> for CpuidResult
impl PartialEq<CpuidResult> for CpuidResult
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
sourceimpl PartialOrd<CpuidResult> for CpuidResult
impl PartialOrd<CpuidResult> for CpuidResult
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
impl Eq for CpuidResult
impl StructuralEq for CpuidResult
impl StructuralPartialEq for CpuidResult
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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