pub struct GenericLocalCounter<P>where
P: Atomic,{ /* private fields */ }
Expand description
The underlying implementation for LocalCounter
and LocalIntCounter
.
Implementations§
Trait Implementations§
Source§impl<P> Clone for GenericLocalCounter<P>where
P: Atomic,
impl<P> Clone for GenericLocalCounter<P>where
P: Atomic,
Source§fn clone(&self) -> GenericLocalCounter<P>
fn clone(&self) -> GenericLocalCounter<P>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<P> CounterWithValueType for GenericLocalCounter<P>where
P: Atomic,
impl<P> CounterWithValueType for GenericLocalCounter<P>where
P: Atomic,
Source§impl<P> Debug for GenericLocalCounter<P>
impl<P> Debug for GenericLocalCounter<P>
Source§impl<P> LocalMetric for GenericLocalCounter<P>where
P: Atomic,
impl<P> LocalMetric for GenericLocalCounter<P>where
P: Atomic,
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> 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