pub struct ContextID(pub u64);
Expand description
A unique ID among all currently-allocated contexts.
If you destroy a context, subsequently-allocated contexts might reuse the same ID.
Tuple Fields§
§0: u64
Trait Implementations§
impl Copy for ContextID
impl Eq for ContextID
impl StructuralPartialEq for ContextID
Auto Trait Implementations§
impl Freeze for ContextID
impl RefUnwindSafe for ContextID
impl Send for ContextID
impl Sync for ContextID
impl Unpin for ContextID
impl UnwindSafe for ContextID
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
)