Struct neon::context::Lock [−][src]
pub struct Lock<'cx, C> { /* 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.
Values that support the Borrow
trait may be dynamically borrowed by passing a
Lock
.