Struct spin::MutexGuard
[−]
[src]
pub struct MutexGuard<'a, T: ?Sized + 'a> { /* fields omitted */ }
A guard to which the protected data can be accessed
When the guard falls out of scope it will release the lock.
Trait Implementations
impl<'a, T: ?Sized> Deref for MutexGuard<'a, T>
[src]
type Target = T
The resulting type after dereferencing.
fn deref<'b>(&'b self) -> &'b T
[src]
Dereferences the value.