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§
source§impl PartialEq for ContextID
impl PartialEq for ContextID
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