Type Alias spin::lock_api::MutexGuard

source ·
pub type MutexGuard<'a, T> = MutexGuard<'a, Mutex<()>, T>;
Expand description

A guard that provides mutable data access (compatible with lock_api).

Aliased Type§

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

Trait Implementations§

source§

impl<'a, R, T> Deref for MutexGuard<'a, R, T>where R: RawMutex + 'a, T: 'a + ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.