pub struct CounterGuard(_);Trait Implementations
sourceimpl Drop for CounterGuard
impl Drop for CounterGuard
impl Unpin for CounterGuard
Auto Trait Implementations
impl !RefUnwindSafe for CounterGuard
impl !Send for CounterGuard
impl !Sync for CounterGuard
impl !UnwindSafe for CounterGuard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more