pub struct CoreId(/* private fields */);
Expand description
An unique ID for a Core
An ID by which different cores may be distinguished. Can be compared and used as an index in
a HashMap
.
The ID is globally unique and never reused.
Trait Implementations§
impl Copy for CoreId
impl Eq for CoreId
impl StructuralPartialEq for CoreId
Auto Trait Implementations§
impl Freeze for CoreId
impl RefUnwindSafe for CoreId
impl Send for CoreId
impl Sync for CoreId
impl Unpin for CoreId
impl UnwindSafe for CoreId
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
)