Struct wasmtime_environ::__core::arch::x86_64::CpuidResult
1.27.0 · source · pub struct CpuidResult {
pub eax: u32,
pub ebx: u32,
pub ecx: u32,
pub edx: u32,
}
Available on 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§
1.27.0 · 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 more1.27.0 · source§impl Debug for CpuidResult
impl Debug for CpuidResult
1.27.0 · source§impl Ord for CpuidResult
impl Ord for CpuidResult
source§fn cmp(&self, other: &CpuidResult) -> Ordering
fn cmp(&self, other: &CpuidResult) -> Ordering
1.21.0 · source§fn 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.27.0 · source§impl PartialEq for CpuidResult
impl PartialEq 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 ==
.1.27.0 · source§impl PartialOrd for CpuidResult
impl PartialOrd for CpuidResult
source§fn partial_cmp(&self, other: &CpuidResult) -> Option<Ordering>
fn partial_cmp(&self, other: &CpuidResult) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl 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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.