Struct raw_cpuid::ProcessorSerial
source · [−]pub struct ProcessorSerial { /* private fields */ }
Implementations
sourceimpl ProcessorSerial
impl ProcessorSerial
sourcepub fn serial_lower(&self) -> u32
pub fn serial_lower(&self) -> u32
Bits 00-31 of 96 bit processor serial number. (Available in Pentium III processor only; otherwise, the value in this register is reserved.)
sourcepub fn serial_middle(&self) -> u32
pub fn serial_middle(&self) -> u32
Bits 32-63 of 96 bit processor serial number. (Available in Pentium III processor only; otherwise, the value in this register is reserved.)
pub fn serial(&self) -> u64
Trait Implementations
sourceimpl Debug for ProcessorSerial
impl Debug for ProcessorSerial
sourceimpl Default for ProcessorSerial
impl Default for ProcessorSerial
sourcefn default() -> ProcessorSerial
fn default() -> ProcessorSerial
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ProcessorSerial
impl Send for ProcessorSerial
impl Sync for ProcessorSerial
impl Unpin for ProcessorSerial
impl UnwindSafe for ProcessorSerial
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more