Type Alias epaint::mutex::MutexGuard

source ·
pub type MutexGuard<'a, T> = MutexGuard<'a, RawMutex, T>;
Expand description

The lock you get from Mutex. An RAII implementation of a “scoped lock” of a mutex. 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.

Aliased Type§

struct MutexGuard<'a, T> { /* private fields */ }