Enum libcpuid_dump::TopoLevelType
source · #[repr(u8)]pub enum TopoLevelType {
Invalid = 0,
SMT = 1,
Core = 2,
Module = 3,
Tile = 4,
Die = 5,
}Expand description
Used for IntelExtTopo
Variants§
Trait Implementations§
source§impl Debug for TopoLevelType
impl Debug for TopoLevelType
source§impl Display for TopoLevelType
impl Display for TopoLevelType
source§impl From<&CpuidResult> for TopoLevelType
impl From<&CpuidResult> for TopoLevelType
source§fn from(cpuid: &CpuidResult) -> Self
fn from(cpuid: &CpuidResult) -> Self
Converts to this type from the input type.
source§impl From<u32> for TopoLevelType
impl From<u32> for TopoLevelType
source§impl From<u8> for TopoLevelType
impl From<u8> for TopoLevelType
source§impl PartialEq for TopoLevelType
impl PartialEq for TopoLevelType
source§fn eq(&self, other: &TopoLevelType) -> bool
fn eq(&self, other: &TopoLevelType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for TopoLevelType
impl StructuralEq for TopoLevelType
impl StructuralPartialEq for TopoLevelType
Auto Trait Implementations§
impl RefUnwindSafe for TopoLevelType
impl Send for TopoLevelType
impl Sync for TopoLevelType
impl Unpin for TopoLevelType
impl UnwindSafe for TopoLevelType
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