pub struct CpuCoreIndex(/* private fields */);Expand description
Typed wrapper for a CPU core index.
Implementations§
Trait Implementations§
Source§impl Clone for CpuCoreIndex
impl Clone for CpuCoreIndex
Source§fn clone(&self) -> CpuCoreIndex
fn clone(&self) -> CpuCoreIndex
Returns a duplicate 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 CpuCoreIndex
impl Debug for CpuCoreIndex
Source§impl Hash for CpuCoreIndex
impl Hash for CpuCoreIndex
Source§impl Ord for CpuCoreIndex
impl Ord for CpuCoreIndex
Source§fn cmp(&self, other: &CpuCoreIndex) -> Ordering
fn cmp(&self, other: &CpuCoreIndex) -> 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 CpuCoreIndex
impl PartialEq for CpuCoreIndex
Source§impl PartialOrd for CpuCoreIndex
impl PartialOrd for CpuCoreIndex
impl Copy for CpuCoreIndex
impl Eq for CpuCoreIndex
impl StructuralPartialEq for CpuCoreIndex
Auto Trait Implementations§
impl Freeze for CpuCoreIndex
impl RefUnwindSafe for CpuCoreIndex
impl Send for CpuCoreIndex
impl Sync for CpuCoreIndex
impl Unpin for CpuCoreIndex
impl UnsafeUnpin for CpuCoreIndex
impl UnwindSafe for CpuCoreIndex
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