Struct x86::cpuid::VendorInfo
source · [−]#[repr(C)]pub struct VendorInfo { /* private fields */ }
Expand description
Vendor Info String (LEAF=0x0)
A string that can be for example “AuthenticAMD” or “GenuineIntel”.
Technical Background
The vendor info is a 12-byte (96 bit) long string stored in ebx
, edx
and
ecx
by the corresponding cpuid
instruction.
Platforms
✅ AMD ✅ Intel
Implementations
Trait Implementations
sourceimpl Debug for VendorInfo
impl Debug for VendorInfo
sourceimpl Display for VendorInfo
impl Display for VendorInfo
sourceimpl PartialEq<VendorInfo> for VendorInfo
impl PartialEq<VendorInfo> for VendorInfo
sourcefn eq(&self, other: &VendorInfo) -> bool
fn eq(&self, other: &VendorInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VendorInfo) -> bool
fn ne(&self, other: &VendorInfo) -> bool
This method tests for !=
.
impl Eq for VendorInfo
impl StructuralEq for VendorInfo
impl StructuralPartialEq for VendorInfo
Auto Trait Implementations
impl RefUnwindSafe for VendorInfo
impl Send for VendorInfo
impl Sync for VendorInfo
impl Unpin for VendorInfo
impl UnwindSafe for VendorInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more