Struct x86defs::cpuid::TopologyLevelType
source · #[repr(transparent)]pub struct TopologyLevelType(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl TopologyLevelType
impl TopologyLevelType
pub const INVALID: TopologyLevelType = _
pub const SMT: TopologyLevelType = _
pub const CORE: TopologyLevelType = _
pub const MODULE: TopologyLevelType = _
pub const TILE: TopologyLevelType = _
pub const DIE: TopologyLevelType = _
Trait Implementations§
source§impl Clone for TopologyLevelType
impl Clone for TopologyLevelType
source§fn clone(&self) -> TopologyLevelType
fn clone(&self) -> TopologyLevelType
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 TopologyLevelType
impl Debug for TopologyLevelType
source§impl Hash for TopologyLevelType
impl Hash for TopologyLevelType
source§impl Ord for TopologyLevelType
impl Ord for TopologyLevelType
source§fn cmp(&self, other: &TopologyLevelType) -> Ordering
fn cmp(&self, other: &TopologyLevelType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TopologyLevelType
impl PartialEq for TopologyLevelType
source§impl PartialOrd for TopologyLevelType
impl PartialOrd for TopologyLevelType
impl Copy for TopologyLevelType
impl Eq for TopologyLevelType
impl StructuralPartialEq for TopologyLevelType
Auto Trait Implementations§
impl Freeze for TopologyLevelType
impl RefUnwindSafe for TopologyLevelType
impl Send for TopologyLevelType
impl Sync for TopologyLevelType
impl Unpin for TopologyLevelType
impl UnwindSafe for TopologyLevelType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)