[][src]Module neon::handle

Safe handles to managed JavaScript memory.

Structs

DowncastError

An error representing a failed downcast.

Handle

A safely rooted handle to a JS value in memory that is managed by the garbage collector.

Root

Root<T> holds a reference to a JavaScript object and prevents it from being garbage collected. Root<T> may be sent across threads, but the referenced objected may only be accessed on the JavaScript thread that created it.

Traits

Managed

The trait of data that is managed by the JS garbage collector and can only be accessed via handles.

Type Definitions

DowncastResult

The result of a call to Handle::downcast().