Struct neon::context::Lock [−][src]
pub struct Lock<'a> { /* fields omitted */ }Expand description
A temporary lock of an execution context.
While a lock is alive, no JavaScript code can be executed in the execution context.
Objects that support the Borrow and BorrowMut traits can be inspected while the context is locked by passing a reference to a Lock to their methods.