Trait neon::vm::Lock [] [src]

pub trait Lock: Sized {
    type Internals;
    unsafe fn expose(self, state: &mut LockState) -> Self::Internals;

    fn grab<F, T>(self, f: F) -> T
    where
        F: FnOnce(Self::Internals) -> T + Send
, { ... } }

Associated Types

Required Methods

Provided Methods

Implementors