Struct smbioslib::ProcessorCharacteristics
source · [−]pub struct ProcessorCharacteristics {
pub raw: u16,
}
Expand description
Fields
raw: u16
Raw value
Implementations
sourceimpl ProcessorCharacteristics
impl ProcessorCharacteristics
sourcepub fn bit_64capable(&self) -> bool
pub fn bit_64capable(&self) -> bool
Bit 2 64-bit Capable
sourcepub fn multi_core(&self) -> bool
pub fn multi_core(&self) -> bool
Bit 3 Multi-Core
sourcepub fn hardware_thread(&self) -> bool
pub fn hardware_thread(&self) -> bool
Bit 4 Hardware Thread
sourcepub fn execute_protection(&self) -> bool
pub fn execute_protection(&self) -> bool
Bit 5 Execute Protection
sourcepub fn enhanced_virtualization(&self) -> bool
pub fn enhanced_virtualization(&self) -> bool
Bit 6 Enhanced Virtualization
sourcepub fn power_performance_control(&self) -> bool
pub fn power_performance_control(&self) -> bool
Bit 7 Power/Performance Control
sourcepub fn bit_128capable(&self) -> bool
pub fn bit_128capable(&self) -> bool
Bit 8 128-bit Capable
sourcepub fn arm_64soc_id(&self) -> bool
pub fn arm_64soc_id(&self) -> bool
Bit 9 Arm64 SoC ID
Trait Implementations
sourceimpl Debug for ProcessorCharacteristics
impl Debug for ProcessorCharacteristics
sourceimpl Deref for ProcessorCharacteristics
impl Deref for ProcessorCharacteristics
sourceimpl From<u16> for ProcessorCharacteristics
impl From<u16> for ProcessorCharacteristics
sourceimpl PartialEq<ProcessorCharacteristics> for ProcessorCharacteristics
impl PartialEq<ProcessorCharacteristics> for ProcessorCharacteristics
sourcefn eq(&self, other: &ProcessorCharacteristics) -> bool
fn eq(&self, other: &ProcessorCharacteristics) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ProcessorCharacteristics) -> bool
fn ne(&self, other: &ProcessorCharacteristics) -> bool
This method tests for !=
.
sourceimpl Serialize for ProcessorCharacteristics
impl Serialize for ProcessorCharacteristics
impl Eq for ProcessorCharacteristics
impl StructuralEq for ProcessorCharacteristics
impl StructuralPartialEq for ProcessorCharacteristics
Auto Trait Implementations
impl RefUnwindSafe for ProcessorCharacteristics
impl Send for ProcessorCharacteristics
impl Sync for ProcessorCharacteristics
impl Unpin for ProcessorCharacteristics
impl UnwindSafe for ProcessorCharacteristics
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