pub struct AtomicHandle { /* private fields */ }Expand description
Variant of the handle factory using atomics
Implementations§
Source§impl AtomicHandle
impl AtomicHandle
Sourcepub fn new(first: u32) -> AtomicHandle
pub fn new(first: u32) -> AtomicHandle
Create a new atomic handle. first is the starting point and lowest value
this will produce.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for AtomicHandle
impl RefUnwindSafe for AtomicHandle
impl Send for AtomicHandle
impl Sync for AtomicHandle
impl Unpin for AtomicHandle
impl UnsafeUnpin for AtomicHandle
impl UnwindSafe for AtomicHandle
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