[][src]Struct rusty_v8::Local

#[repr(C)]pub struct Local<'s, T>(_, _);

An object reference managed by the v8 garbage collector.

All objects returned from v8 have to be tracked by the garbage collector so that it knows that the objects are still alive. Also, because the garbage collector may move objects, it is unsafe to point directly to an object. Instead, all objects are stored in handles which are known by the garbage collector and updated whenever an object moves. Handles should always be passed by value (except in cases like out-parameters) and they should never be allocated on the heap.

There are two types of handles: local and persistent handles.

Local handles are light-weight and transient and typically used in local operations. They are managed by HandleScopes. That means that a HandleScope must exist on the stack when they are created and that they are only valid inside of the HandleScope active during their creation. For passing a local handle to an outer HandleScope, an EscapableHandleScope and its Escape() method must be used.

Persistent handles can be used when storing objects across several independent operations and have to be explicitly deallocated when they're no longer used.

It is safe to extract the object stored in the handle by dereferencing the handle (for instance, to extract the *Object from a Local); the value will still be governed by a handle behind the scenes and the same rules apply to these values as to their handles.

Note: Local handles in Rusty V8 differ from the V8 C++ API in that they are never empty. In situations where empty handles are needed, use Option.

Implementations

impl<'s, T> Local<'s, T>[src]

pub fn new(
    scope: &mut HandleScope<'s, ()>,
    handle: impl Handle<Data = T>
) -> Self
[src]

Construct a new Local from an existing Handle.

pub unsafe fn cast<A>(other: Local<'s, A>) -> Self where
    Local<'s, A>: From<Self>, 
[src]

Create a local handle by downcasting from one of its super types. This function is unsafe because the cast is unchecked.

Trait Implementations

impl<'s, T> Borrow<T> for Local<'s, T>[src]

impl<'s, T> Clone for Local<'s, T>[src]

impl<'s, T> Copy for Local<'s, T>[src]

impl<'s, T> Deref for Local<'s, T>[src]

type Target = T

The resulting type after dereferencing.

impl<'s, T> Eq for Local<'s, T> where
    T: Eq
[src]

impl<'s> From<Local<'s, AccessorSignature>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Array>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Array>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Array>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, ArrayBuffer>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, ArrayBuffer>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, ArrayBuffer>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, ArrayBufferView>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, ArrayBufferView>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, ArrayBufferView>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, BigInt>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, BigInt>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, BigInt>> for Local<'s, Primitive>[src]

impl<'s> From<Local<'s, BigInt64Array>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, BigInt64Array>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, BigInt64Array>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, BigInt64Array>> for Local<'s, ArrayBufferView>[src]

impl<'s> From<Local<'s, BigInt64Array>> for Local<'s, TypedArray>[src]

impl<'s> From<Local<'s, BigIntObject>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, BigIntObject>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, BigIntObject>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, BigUint64Array>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, BigUint64Array>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, BigUint64Array>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, BigUint64Array>> for Local<'s, ArrayBufferView>[src]

impl<'s> From<Local<'s, BigUint64Array>> for Local<'s, TypedArray>[src]

impl<'s> From<Local<'s, Boolean>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Boolean>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Boolean>> for Local<'s, Primitive>[src]

impl<'s> From<Local<'s, BooleanObject>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, BooleanObject>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, BooleanObject>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Context>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, DataView>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, DataView>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, DataView>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, DataView>> for Local<'s, ArrayBufferView>[src]

impl<'s> From<Local<'s, Date>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Date>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Date>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, External>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, External>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Float32Array>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Float32Array>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Float32Array>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Float32Array>> for Local<'s, ArrayBufferView>[src]

impl<'s> From<Local<'s, Float32Array>> for Local<'s, TypedArray>[src]

impl<'s> From<Local<'s, Float64Array>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Float64Array>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Float64Array>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Float64Array>> for Local<'s, ArrayBufferView>[src]

impl<'s> From<Local<'s, Float64Array>> for Local<'s, TypedArray>[src]

impl<'s> From<Local<'s, Function>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Function>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Function>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, FunctionTemplate>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, FunctionTemplate>> for Local<'s, Template>[src]

impl<'s> From<Local<'s, Int16Array>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Int16Array>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Int16Array>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Int16Array>> for Local<'s, ArrayBufferView>[src]

impl<'s> From<Local<'s, Int16Array>> for Local<'s, TypedArray>[src]

impl<'s> From<Local<'s, Int32>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Int32>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Int32>> for Local<'s, Primitive>[src]

impl<'s> From<Local<'s, Int32>> for Local<'s, Number>[src]

impl<'s> From<Local<'s, Int32>> for Local<'s, Integer>[src]

impl<'s> From<Local<'s, Int32Array>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Int32Array>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Int32Array>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Int32Array>> for Local<'s, ArrayBufferView>[src]

impl<'s> From<Local<'s, Int32Array>> for Local<'s, TypedArray>[src]

impl<'s> From<Local<'s, Int8Array>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Int8Array>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Int8Array>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Int8Array>> for Local<'s, ArrayBufferView>[src]

impl<'s> From<Local<'s, Int8Array>> for Local<'s, TypedArray>[src]

impl<'s> From<Local<'s, Integer>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Integer>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Integer>> for Local<'s, Primitive>[src]

impl<'s> From<Local<'s, Integer>> for Local<'s, Number>[src]

impl<'s> From<Local<'s, Map>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Map>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Map>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Message>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Module>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Name>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Name>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Name>> for Local<'s, Primitive>[src]

impl<'s> From<Local<'s, Number>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Number>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Number>> for Local<'s, Primitive>[src]

impl<'s> From<Local<'s, NumberObject>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, NumberObject>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, NumberObject>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Object>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Object>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, ObjectTemplate>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, ObjectTemplate>> for Local<'s, Template>[src]

impl<'s> From<Local<'s, Primitive>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Primitive>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, PrimitiveArray>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Private>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Promise>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Promise>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Promise>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, PromiseResolver>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, PromiseResolver>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, PromiseResolver>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Proxy>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Proxy>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Proxy>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, RegExp>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, RegExp>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, RegExp>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Script>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, ScriptOrModule>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Set>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Set>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Set>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, SharedArrayBuffer>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, SharedArrayBuffer>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, SharedArrayBuffer>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Signature>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, StackFrame>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, StackTrace>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, String>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, String>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, String>> for Local<'s, Primitive>[src]

impl<'s> From<Local<'s, String>> for Local<'s, Name>[src]

impl<'s> From<Local<'s, StringObject>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, StringObject>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, StringObject>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Symbol>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Symbol>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Symbol>> for Local<'s, Primitive>[src]

impl<'s> From<Local<'s, Symbol>> for Local<'s, Name>[src]

impl<'s> From<Local<'s, SymbolObject>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, SymbolObject>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, SymbolObject>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Template>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, TypedArray>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, TypedArray>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, TypedArray>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, TypedArray>> for Local<'s, ArrayBufferView>[src]

impl<'s> From<Local<'s, Uint16Array>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Uint16Array>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Uint16Array>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Uint16Array>> for Local<'s, ArrayBufferView>[src]

impl<'s> From<Local<'s, Uint16Array>> for Local<'s, TypedArray>[src]

impl<'s> From<Local<'s, Uint32>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Uint32>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Uint32>> for Local<'s, Primitive>[src]

impl<'s> From<Local<'s, Uint32>> for Local<'s, Number>[src]

impl<'s> From<Local<'s, Uint32>> for Local<'s, Integer>[src]

impl<'s> From<Local<'s, Uint32Array>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Uint32Array>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Uint32Array>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Uint32Array>> for Local<'s, ArrayBufferView>[src]

impl<'s> From<Local<'s, Uint32Array>> for Local<'s, TypedArray>[src]

impl<'s> From<Local<'s, Uint8Array>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Uint8Array>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Uint8Array>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Uint8Array>> for Local<'s, ArrayBufferView>[src]

impl<'s> From<Local<'s, Uint8Array>> for Local<'s, TypedArray>[src]

impl<'s> From<Local<'s, Uint8ClampedArray>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Uint8ClampedArray>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, Uint8ClampedArray>> for Local<'s, Object>[src]

impl<'s> From<Local<'s, Uint8ClampedArray>> for Local<'s, ArrayBufferView>[src]

impl<'s> From<Local<'s, Uint8ClampedArray>> for Local<'s, TypedArray>[src]

impl<'s> From<Local<'s, UnboundModuleScript>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, UnboundScript>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, Value>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, WasmModuleObject>> for Local<'s, Data>[src]

impl<'s> From<Local<'s, WasmModuleObject>> for Local<'s, Value>[src]

impl<'s> From<Local<'s, WasmModuleObject>> for Local<'s, Object>[src]

impl<'s, T> Handle for Local<'s, T>[src]

type Data = T

impl<'a, 's: 'a, T> Handle for &'a Local<'s, T>[src]

type Data = T

impl<'s, T: Hash> Hash for Local<'s, T>[src]

impl<'s, T, Rhs: Handle> PartialEq<Rhs> for Local<'s, T> where
    T: PartialEq<Rhs::Data>, 
[src]

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, DataView>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, TypedArray>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Uint32Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Uint8Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Uint8ClampedArray>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, BigInt64Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, BigUint64Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Float32Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Float64Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Int16Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Int32Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Int8Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Uint16Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Integer>> for Local<'s, Int32>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Integer>> for Local<'s, Uint32>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Name>> for Local<'s, String>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Name>> for Local<'s, Symbol>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Number>> for Local<'s, Integer>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Number>> for Local<'s, Int32>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Number>> for Local<'s, Uint32>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, ArrayBuffer>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Int32Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Int8Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Uint16Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Uint32Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Uint8Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Uint8ClampedArray>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, BigIntObject>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, BooleanObject>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Date>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Function>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, ArrayBufferView>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Map>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, NumberObject>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Promise>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Proxy>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, RegExp>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Set>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, SharedArrayBuffer>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, StringObject>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, SymbolObject>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, WasmModuleObject>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, DataView>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, TypedArray>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, BigInt64Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, BigUint64Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Float32Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Float64Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Int16Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, BigInt>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, Boolean>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, Name>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, String>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, Symbol>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, Number>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, Integer>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, Int32>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, Uint32>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, BigInt64Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, BigUint64Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Uint8ClampedArray>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Float32Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Float64Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Int16Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Int32Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Int8Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Uint16Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Uint32Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Uint8Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, External>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Object>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Float64Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Int16Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Int32Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Int8Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Uint16Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Uint32Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Uint8Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Uint8ClampedArray>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, BigIntObject>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, BooleanObject>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Date>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Function>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Map>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, NumberObject>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Promise>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Proxy>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, RegExp>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Set>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, SharedArrayBuffer>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, StringObject>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, ArrayBuffer>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, SymbolObject>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, WasmModuleObject>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Primitive>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, BigInt>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Boolean>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Name>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, String>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Symbol>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Number>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Integer>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, ArrayBufferView>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Int32>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Uint32>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, DataView>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, TypedArray>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, BigInt64Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, BigUint64Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Float32Array>[src]

type Error = TryFromTypeError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'s, T> RefUnwindSafe for Local<'s, T> where
    T: RefUnwindSafe

impl<'s, T> !Send for Local<'s, T>

impl<'s, T> !Sync for Local<'s, T>

impl<'s, T> Unpin for Local<'s, T>

impl<'s, T> UnwindSafe for Local<'s, T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.