pub struct AtomicRefCounter { /* private fields */ }Expand description
A simple atomic reference counter (non-owning, just counts).
Implementations§
Trait Implementations§
Source§impl Default for AtomicRefCounter
impl Default for AtomicRefCounter
Auto Trait Implementations§
impl !Freeze for AtomicRefCounter
impl RefUnwindSafe for AtomicRefCounter
impl Send for AtomicRefCounter
impl Sync for AtomicRefCounter
impl Unpin for AtomicRefCounter
impl UnsafeUnpin for AtomicRefCounter
impl UnwindSafe for AtomicRefCounter
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