pub struct CpuId(pub usize);Expand description
A logical CPU id.
Tuple Fields§
§0: usizeTrait Implementations§
impl Copy for CpuId
impl Eq for CpuId
Source§impl Ord for CpuId
impl Ord for CpuId
1.21.0 (const: unstable) · 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 PartialOrd for CpuId
impl PartialOrd for CpuId
impl StructuralPartialEq for CpuId
Auto Trait Implementations§
impl Freeze for CpuId
impl RefUnwindSafe for CpuId
impl Send for CpuId
impl Sync for CpuId
impl Unpin for CpuId
impl UnsafeUnpin for CpuId
impl UnwindSafe for CpuId
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