pub struct ValueCounter(/* private fields */);
Expand description
Value counter with some predefined maximum value.
Implementations§
Source§impl ValueCounter
impl ValueCounter
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValueCounter
impl RefUnwindSafe for ValueCounter
impl Send for ValueCounter
impl Sync for ValueCounter
impl Unpin for ValueCounter
impl UnwindSafe for ValueCounter
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