Struct GenericLocalCounter
pub struct GenericLocalCounter<P>where
P: Atomic,{ /* private fields */ }Expand description
The underlying implementation for [LocalCounter]
and [LocalIntCounter].
Implementations§
Trait Implementations§
§impl<P> Clone for GenericLocalCounter<P>where
P: Atomic,
impl<P> Clone for GenericLocalCounter<P>where
P: Atomic,
§fn clone(&self) -> GenericLocalCounter<P>
fn clone(&self) -> GenericLocalCounter<P>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl<P> CounterWithValueType for GenericLocalCounter<P>where
P: Atomic,
impl<P> CounterWithValueType for GenericLocalCounter<P>where
P: Atomic,
§impl<P> Debug for GenericLocalCounter<P>
impl<P> Debug for GenericLocalCounter<P>
Auto Trait Implementations§
impl<P> !Freeze for GenericLocalCounter<P>
impl<P> !RefUnwindSafe for GenericLocalCounter<P>
impl<P> Send for GenericLocalCounter<P>
impl<P> !Sync for GenericLocalCounter<P>
impl<P> Unpin for GenericLocalCounter<P>
impl<P> UnsafeUnpin for GenericLocalCounter<P>
impl<P> UnwindSafe for GenericLocalCounter<P>
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