pub struct Checked(/* private fields */);Expand description
An allocator of IDs that uses a global atomic u64 counter.
This type is only available on platforms with 64-bit atomics.
Implementations§
Trait Implementations§
impl Copy for Checked
impl Eq for Checked
impl Id for Checked
impl StructuralPartialEq for Checked
Auto Trait Implementations§
impl Freeze for Checked
impl RefUnwindSafe for Checked
impl Send for Checked
impl Sync for Checked
impl Unpin for Checked
impl UnwindSafe for Checked
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)