#[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 for CpuIdResult
impl PartialEq for CpuIdResult
impl Copy for CpuIdResult
impl Eq for CpuIdResult
impl StructuralPartialEq for CpuIdResult
Auto Trait Implementations§
impl Freeze for CpuIdResult
impl RefUnwindSafe for CpuIdResult
impl Send for CpuIdResult
impl Sync for CpuIdResult
impl Unpin for CpuIdResult
impl UnwindSafe for CpuIdResult
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
)