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 Clone for TopoLevelType
impl Clone for TopoLevelType
source§fn clone(&self) -> TopoLevelType
fn clone(&self) -> TopoLevelType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§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 Copy for TopoLevelType
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