[−][src]Type Definition yaar_lock::sync::RawMutexGuard
type RawMutexGuard<'a, T, E> = MutexGuard<'a, WordLock<E>, T>;
An RAII implementation of a "scoped lock" of a RawMutex
.
When this structure is dropped (falls out of scope), the lock will be
unlocked.
The data protected by the mutex can be accessed through this guard via its
Deref
and DerefMut
implementations.