pub struct AtomicCounter<MODE: AtomicCounterMode> { /* private fields */ }
Implementations§
Source§impl AtomicCounter<SumMode>
impl AtomicCounter<SumMode>
Auto Trait Implementations§
impl<MODE> Freeze for AtomicCounter<MODE>where
<MODE as AtomicCounterMode>::Extra: Freeze,
impl<MODE> RefUnwindSafe for AtomicCounter<MODE>where
<MODE as AtomicCounterMode>::Extra: RefUnwindSafe,
MODE: RefUnwindSafe,
impl<MODE> Send for AtomicCounter<MODE>
impl<MODE> Sync for AtomicCounter<MODE>
impl<MODE> Unpin for AtomicCounter<MODE>
impl<MODE> UnwindSafe for AtomicCounter<MODE>where
<MODE as AtomicCounterMode>::Extra: UnwindSafe,
MODE: UnwindSafe,
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