Struct antidote::MutexGuard
source · [−]pub struct MutexGuard<'a, T: ?Sized + 'a>(_);
Expand description
Like std::sync::MutexGuard
.
Trait Implementations
sourceimpl<'a, T: ?Sized> Deref for MutexGuard<'a, T>
impl<'a, T: ?Sized> Deref for MutexGuard<'a, T>
Auto Trait Implementations
impl<'a, T: ?Sized> RefUnwindSafe for MutexGuard<'a, T>
impl<'a, T> !Send for MutexGuard<'a, T>
impl<'a, T: ?Sized> Sync for MutexGuard<'a, T> where
T: Sync,
impl<'a, T: ?Sized> Unpin for MutexGuard<'a, T>
impl<'a, T: ?Sized> UnwindSafe for MutexGuard<'a, T>
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