Struct spin::RwLockWriteGuard
[−]
[src]
pub struct RwLockWriteGuard<'a, T: 'a + ?Sized> { // some fields omitted }
A guard to which the protected data can be written
When the guard falls out of scope it will release the lock.
Trait Implementations
impl<'rwlock, T: ?Sized> Deref for RwLockWriteGuard<'rwlock, T>
[src]
type Target = T
The resulting type after dereferencing
fn deref(&self) -> &T
The method called to dereference a value
impl<'rwlock, T: ?Sized> DerefMut for RwLockWriteGuard<'rwlock, T>
[src]
fn deref_mut(&mut self) -> &mut T
The method called to mutably dereference a value