Struct seqlock::SeqLockGuard [] [src]

pub struct SeqLockGuard<'a, T: Copy + 'a> {
    // some fields omitted
}

RAII structure used to release the exclusive write access of a SeqLock when dropped.

Trait Implementations

impl<'a, T: Copy + 'a> Deref for SeqLockGuard<'a, T>
[src]

type Target = T

The resulting type after dereferencing

fn deref(&self) -> &T

The method called to dereference a value

impl<'a, T: Copy + 'a> DerefMut for SeqLockGuard<'a, T>
[src]

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

The method called to mutably dereference a value

impl<'a, T: Copy + 'a> Drop for SeqLockGuard<'a, T>
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more