Struct core::arch::x86_64::CpuidResult 1.27.0[−][src]
pub struct CpuidResult {
pub eax: u32,
pub ebx: u32,
pub ecx: u32,
pub edx: u32,
}This is supported on x86-64 only.
Expand description
Result of the cpuid instruction.
Fields
eax: u32EAX register.
ebx: u32EBX register.
ecx: u32ECX register.
edx: u32EDX register.
Trait Implementations
impl Clone for CpuidResult[src]
impl Clone for CpuidResult[src]This is supported on x86 or x86-64 only.
fn clone(&self) -> CpuidResult[src]
fn clone(&self) -> CpuidResult[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for CpuidResult[src]
impl Debug for CpuidResult[src]This is supported on x86 or x86-64 only.
impl Ord for CpuidResult[src]
impl Ord for CpuidResult[src]This is supported on x86 or x86-64 only.
fn cmp(&self, other: &CpuidResult) -> Ordering[src]
fn cmp(&self, other: &CpuidResult) -> Ordering[src]#[must_use]fn max(self, other: Self) -> Self where
Self: Sized, 1.21.0[src]
#[must_use]fn max(self, other: Self) -> Self where
Self: Sized, 1.21.0[src]Compares and returns the maximum of two values. Read more
impl PartialEq<CpuidResult> for CpuidResult[src]
impl PartialEq<CpuidResult> for CpuidResult[src]This is supported on x86 or x86-64 only.
fn eq(&self, other: &CpuidResult) -> bool[src]
fn eq(&self, other: &CpuidResult) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &CpuidResult) -> bool[src]
fn ne(&self, other: &CpuidResult) -> bool[src]This method tests for !=.
impl PartialOrd<CpuidResult> for CpuidResult[src]
impl PartialOrd<CpuidResult> for CpuidResult[src]This is supported on x86 or x86-64 only.
fn partial_cmp(&self, other: &CpuidResult) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &CpuidResult) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for CpuidResult[src]
This is supported on x86 or x86-64 only.
impl Eq for CpuidResult[src]
This is supported on x86 or x86-64 only.
impl StructuralEq for CpuidResult[src]
This is supported on x86 or x86-64 only.
impl StructuralPartialEq for CpuidResult[src]
This is supported on x86 or x86-64 only.