Struct karabiner_onetime::Lock [] [src]

pub struct Lock<T> { /* fields omitted */ }

Methods

impl<T> Lock<T> where
    T: Send + Sync
[src]

Trait Implementations

impl<T: Default> Default for Lock<T>
[src]

Returns the "default value" for a type. Read more

impl<T: Send> Send for Lock<T>
[src]

impl<T: Sync> Sync for Lock<T>
[src]

impl<T> Deref for Lock<T> where
    T: Send + Sync
[src]

The resulting type after dereferencing

Dereference to the value inside the Lock. This can block if the Lock is in its lock state.

impl<T> DerefMut for Lock<T> where
    T: Send + Sync
[src]

The method called to mutably dereference a value