Struct raw_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§
source§impl Debug for VendorInfo
impl Debug for VendorInfo
source§impl Display for VendorInfo
impl Display for VendorInfo
source§impl PartialEq for VendorInfo
impl PartialEq for VendorInfo
source§fn 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 ==
.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§
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