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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.