Struct spin::RwLockWriteGuard [] [src]

pub struct RwLockWriteGuard<'a, T: 'a> {
    // 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> Deref for RwLockWriteGuard<'rwlock, T>
[src]

type Target = T

fn deref(&self) -> &T

impl<'rwlock, T> DerefMut for RwLockWriteGuard<'rwlock, T>
[src]

fn deref_mut(&mut self) -> &mut T

impl<'rwlock, T> Drop for RwLockWriteGuard<'rwlock, T>
[src]

fn drop(&mut self)