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