Struct CpuidResult
pub struct CpuidResult { pub eax: u32, pub ebx: u32, pub ecx: u32, pub edx: u32 }
Result of the cpuid instruction.
Fields
eax: u32EAX register.
ebx: u32EBX register.
ecx: u32ECX register.
edx: u32EDX register.
Trait Implementations
impl Clone for CpuidResult
fn clone(&self) -> CpuidResult
impl Copy for CpuidResult
impl Debug for CpuidResult
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for CpuidResult
fn assert_fields_are_eq(&self)
impl Ord for CpuidResult
fn cmp(&self, other: &CpuidResult) -> Ordering
impl PartialEq for CpuidResult
fn eq(&self, other: &CpuidResult) -> bool
impl PartialOrd for CpuidResult
fn partial_cmp(&self, other: &CpuidResult) -> Option<Ordering>
impl StructuralPartialEq for CpuidResult
impl TrivialClone 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 UnsafeUnpin for CpuidResult
impl UnwindSafe for CpuidResult
Blanket Implementations
impl<T> Any for CpuidResult
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for CpuidResult
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for CpuidResult
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for CpuidResult
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for CpuidResult
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Printable for CpuidResult
where
T: Copy + Debug,
impl<T> SizeHint for CpuidResult
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for CpuidResult
impl<T, U> Into<U> for CpuidResult
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for CpuidResult
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for CpuidResult
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>