Struct raw_cpuid::CpuIdResult
source · #[repr(C)]pub struct CpuIdResult {
pub eax: u32,
pub ebx: u32,
pub ecx: u32,
pub edx: u32,
}
Expand description
Low-level data-structure to store result of cpuid instruction.
Fields§
§eax: u32
Return value EAX register
ebx: u32
Return value EBX register
ecx: u32
Return value ECX register
edx: u32
Return value EDX register
Implementations§
Trait Implementations§
source§impl Clone for CpuIdResult
impl Clone for CpuIdResult
source§fn clone(&self) -> CpuIdResult
fn clone(&self) -> CpuIdResult
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 CpuIdResult
impl Debug for CpuIdResult
source§impl PartialEq<CpuIdResult> for CpuIdResult
impl PartialEq<CpuIdResult> for CpuIdResult
source§fn 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 ==
.