Struct v8::Local

source ·
#[repr(C)]
pub struct Local<'s, T>(/* private fields */);
Expand description

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§

source§

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

source

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

Construct a new Local from an existing Handle.

source

pub unsafe fn cast<A>(other: Local<'s, A>) -> Selfwhere Local<'s, A>: From<Self>,

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

Trait Implementations§

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'s, T: Debug> Debug for Local<'s, T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

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

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.
source§

impl<'s> From<Local<'s, AccessorSignature>> for Local<'s, Data>

source§

fn from(l: Local<'s, AccessorSignature>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Array>> for Local<'s, Data>

source§

fn from(l: Local<'s, Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Array>> for Local<'s, Object>

source§

fn from(l: Local<'s, Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Array>> for Local<'s, Value>

source§

fn from(l: Local<'s, Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, ArrayBuffer>> for Local<'s, Data>

source§

fn from(l: Local<'s, ArrayBuffer>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, ArrayBuffer>> for Local<'s, Object>

source§

fn from(l: Local<'s, ArrayBuffer>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, ArrayBuffer>> for Local<'s, Value>

source§

fn from(l: Local<'s, ArrayBuffer>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, ArrayBufferView>> for Local<'s, Data>

source§

fn from(l: Local<'s, ArrayBufferView>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, ArrayBufferView>> for Local<'s, Object>

source§

fn from(l: Local<'s, ArrayBufferView>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, ArrayBufferView>> for Local<'s, Value>

source§

fn from(l: Local<'s, ArrayBufferView>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigInt>> for Local<'s, Data>

source§

fn from(l: Local<'s, BigInt>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigInt>> for Local<'s, Primitive>

source§

fn from(l: Local<'s, BigInt>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigInt>> for Local<'s, Value>

source§

fn from(l: Local<'s, BigInt>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigInt64Array>> for Local<'s, ArrayBufferView>

source§

fn from(l: Local<'s, BigInt64Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigInt64Array>> for Local<'s, Data>

source§

fn from(l: Local<'s, BigInt64Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigInt64Array>> for Local<'s, Object>

source§

fn from(l: Local<'s, BigInt64Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigInt64Array>> for Local<'s, TypedArray>

source§

fn from(l: Local<'s, BigInt64Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigInt64Array>> for Local<'s, Value>

source§

fn from(l: Local<'s, BigInt64Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigIntObject>> for Local<'s, Data>

source§

fn from(l: Local<'s, BigIntObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigIntObject>> for Local<'s, Object>

source§

fn from(l: Local<'s, BigIntObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigIntObject>> for Local<'s, Value>

source§

fn from(l: Local<'s, BigIntObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigUint64Array>> for Local<'s, ArrayBufferView>

source§

fn from(l: Local<'s, BigUint64Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigUint64Array>> for Local<'s, Data>

source§

fn from(l: Local<'s, BigUint64Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigUint64Array>> for Local<'s, Object>

source§

fn from(l: Local<'s, BigUint64Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigUint64Array>> for Local<'s, TypedArray>

source§

fn from(l: Local<'s, BigUint64Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BigUint64Array>> for Local<'s, Value>

source§

fn from(l: Local<'s, BigUint64Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Boolean>> for Local<'s, Data>

source§

fn from(l: Local<'s, Boolean>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Boolean>> for Local<'s, Primitive>

source§

fn from(l: Local<'s, Boolean>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Boolean>> for Local<'s, Value>

source§

fn from(l: Local<'s, Boolean>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BooleanObject>> for Local<'s, Data>

source§

fn from(l: Local<'s, BooleanObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BooleanObject>> for Local<'s, Object>

source§

fn from(l: Local<'s, BooleanObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, BooleanObject>> for Local<'s, Value>

source§

fn from(l: Local<'s, BooleanObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Context>> for Local<'s, Data>

source§

fn from(l: Local<'s, Context>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, DataView>> for Local<'s, ArrayBufferView>

source§

fn from(l: Local<'s, DataView>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, DataView>> for Local<'s, Data>

source§

fn from(l: Local<'s, DataView>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, DataView>> for Local<'s, Object>

source§

fn from(l: Local<'s, DataView>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, DataView>> for Local<'s, Value>

source§

fn from(l: Local<'s, DataView>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Date>> for Local<'s, Data>

source§

fn from(l: Local<'s, Date>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Date>> for Local<'s, Object>

source§

fn from(l: Local<'s, Date>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Date>> for Local<'s, Value>

source§

fn from(l: Local<'s, Date>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, External>> for Local<'s, Data>

source§

fn from(l: Local<'s, External>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, External>> for Local<'s, Value>

source§

fn from(l: Local<'s, External>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, FixedArray>> for Local<'s, Data>

source§

fn from(l: Local<'s, FixedArray>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Float32Array>> for Local<'s, ArrayBufferView>

source§

fn from(l: Local<'s, Float32Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Float32Array>> for Local<'s, Data>

source§

fn from(l: Local<'s, Float32Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Float32Array>> for Local<'s, Object>

source§

fn from(l: Local<'s, Float32Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Float32Array>> for Local<'s, TypedArray>

source§

fn from(l: Local<'s, Float32Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Float32Array>> for Local<'s, Value>

source§

fn from(l: Local<'s, Float32Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Float64Array>> for Local<'s, ArrayBufferView>

source§

fn from(l: Local<'s, Float64Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Float64Array>> for Local<'s, Data>

source§

fn from(l: Local<'s, Float64Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Float64Array>> for Local<'s, Object>

source§

fn from(l: Local<'s, Float64Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Float64Array>> for Local<'s, TypedArray>

source§

fn from(l: Local<'s, Float64Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Float64Array>> for Local<'s, Value>

source§

fn from(l: Local<'s, Float64Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Function>> for Local<'s, Data>

source§

fn from(l: Local<'s, Function>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Function>> for Local<'s, Object>

source§

fn from(l: Local<'s, Function>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Function>> for Local<'s, Value>

source§

fn from(l: Local<'s, Function>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, FunctionTemplate>> for Local<'s, Data>

source§

fn from(l: Local<'s, FunctionTemplate>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, FunctionTemplate>> for Local<'s, Template>

source§

fn from(l: Local<'s, FunctionTemplate>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int16Array>> for Local<'s, ArrayBufferView>

source§

fn from(l: Local<'s, Int16Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int16Array>> for Local<'s, Data>

source§

fn from(l: Local<'s, Int16Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int16Array>> for Local<'s, Object>

source§

fn from(l: Local<'s, Int16Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int16Array>> for Local<'s, TypedArray>

source§

fn from(l: Local<'s, Int16Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int16Array>> for Local<'s, Value>

source§

fn from(l: Local<'s, Int16Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int32>> for Local<'s, Data>

source§

fn from(l: Local<'s, Int32>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int32>> for Local<'s, Integer>

source§

fn from(l: Local<'s, Int32>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int32>> for Local<'s, Number>

source§

fn from(l: Local<'s, Int32>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int32>> for Local<'s, Primitive>

source§

fn from(l: Local<'s, Int32>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int32>> for Local<'s, Value>

source§

fn from(l: Local<'s, Int32>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int32Array>> for Local<'s, ArrayBufferView>

source§

fn from(l: Local<'s, Int32Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int32Array>> for Local<'s, Data>

source§

fn from(l: Local<'s, Int32Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int32Array>> for Local<'s, Object>

source§

fn from(l: Local<'s, Int32Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int32Array>> for Local<'s, TypedArray>

source§

fn from(l: Local<'s, Int32Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int32Array>> for Local<'s, Value>

source§

fn from(l: Local<'s, Int32Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int8Array>> for Local<'s, ArrayBufferView>

source§

fn from(l: Local<'s, Int8Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int8Array>> for Local<'s, Data>

source§

fn from(l: Local<'s, Int8Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int8Array>> for Local<'s, Object>

source§

fn from(l: Local<'s, Int8Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int8Array>> for Local<'s, TypedArray>

source§

fn from(l: Local<'s, Int8Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Int8Array>> for Local<'s, Value>

source§

fn from(l: Local<'s, Int8Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Integer>> for Local<'s, Data>

source§

fn from(l: Local<'s, Integer>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Integer>> for Local<'s, Number>

source§

fn from(l: Local<'s, Integer>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Integer>> for Local<'s, Primitive>

source§

fn from(l: Local<'s, Integer>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Integer>> for Local<'s, Value>

source§

fn from(l: Local<'s, Integer>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Map>> for Local<'s, Data>

source§

fn from(l: Local<'s, Map>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Map>> for Local<'s, Object>

source§

fn from(l: Local<'s, Map>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Map>> for Local<'s, Value>

source§

fn from(l: Local<'s, Map>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Module>> for Local<'s, Data>

source§

fn from(l: Local<'s, Module>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, ModuleRequest>> for Local<'s, Data>

source§

fn from(l: Local<'s, ModuleRequest>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Name>> for Local<'s, Data>

source§

fn from(l: Local<'s, Name>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Name>> for Local<'s, Primitive>

source§

fn from(l: Local<'s, Name>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Name>> for Local<'s, Value>

source§

fn from(l: Local<'s, Name>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Number>> for Local<'s, Data>

source§

fn from(l: Local<'s, Number>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Number>> for Local<'s, Primitive>

source§

fn from(l: Local<'s, Number>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Number>> for Local<'s, Value>

source§

fn from(l: Local<'s, Number>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, NumberObject>> for Local<'s, Data>

source§

fn from(l: Local<'s, NumberObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, NumberObject>> for Local<'s, Object>

source§

fn from(l: Local<'s, NumberObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, NumberObject>> for Local<'s, Value>

source§

fn from(l: Local<'s, NumberObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Object>> for Local<'s, Data>

source§

fn from(l: Local<'s, Object>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Object>> for Local<'s, Value>

source§

fn from(l: Local<'s, Object>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, ObjectTemplate>> for Local<'s, Data>

source§

fn from(l: Local<'s, ObjectTemplate>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, ObjectTemplate>> for Local<'s, Template>

source§

fn from(l: Local<'s, ObjectTemplate>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Primitive>> for Local<'s, Data>

source§

fn from(l: Local<'s, Primitive>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Primitive>> for Local<'s, Value>

source§

fn from(l: Local<'s, Primitive>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, PrimitiveArray>> for Local<'s, Data>

source§

fn from(l: Local<'s, PrimitiveArray>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Private>> for Local<'s, Data>

source§

fn from(l: Local<'s, Private>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Promise>> for Local<'s, Data>

source§

fn from(l: Local<'s, Promise>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Promise>> for Local<'s, Object>

source§

fn from(l: Local<'s, Promise>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Promise>> for Local<'s, Value>

source§

fn from(l: Local<'s, Promise>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, PromiseResolver>> for Local<'s, Data>

source§

fn from(l: Local<'s, PromiseResolver>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, PromiseResolver>> for Local<'s, Object>

source§

fn from(l: Local<'s, PromiseResolver>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, PromiseResolver>> for Local<'s, Value>

source§

fn from(l: Local<'s, PromiseResolver>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Proxy>> for Local<'s, Data>

source§

fn from(l: Local<'s, Proxy>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Proxy>> for Local<'s, Object>

source§

fn from(l: Local<'s, Proxy>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Proxy>> for Local<'s, Value>

source§

fn from(l: Local<'s, Proxy>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, RegExp>> for Local<'s, Data>

source§

fn from(l: Local<'s, RegExp>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, RegExp>> for Local<'s, Object>

source§

fn from(l: Local<'s, RegExp>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, RegExp>> for Local<'s, Value>

source§

fn from(l: Local<'s, RegExp>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Set>> for Local<'s, Data>

source§

fn from(l: Local<'s, Set>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Set>> for Local<'s, Object>

source§

fn from(l: Local<'s, Set>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Set>> for Local<'s, Value>

source§

fn from(l: Local<'s, Set>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, SharedArrayBuffer>> for Local<'s, Data>

source§

fn from(l: Local<'s, SharedArrayBuffer>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, SharedArrayBuffer>> for Local<'s, Object>

source§

fn from(l: Local<'s, SharedArrayBuffer>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, SharedArrayBuffer>> for Local<'s, Value>

source§

fn from(l: Local<'s, SharedArrayBuffer>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Signature>> for Local<'s, Data>

source§

fn from(l: Local<'s, Signature>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, String>> for Local<'s, Data>

source§

fn from(l: Local<'s, String>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, String>> for Local<'s, Name>

source§

fn from(l: Local<'s, String>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, String>> for Local<'s, Primitive>

source§

fn from(l: Local<'s, String>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, String>> for Local<'s, Value>

source§

fn from(l: Local<'s, String>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, StringObject>> for Local<'s, Data>

source§

fn from(l: Local<'s, StringObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, StringObject>> for Local<'s, Object>

source§

fn from(l: Local<'s, StringObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, StringObject>> for Local<'s, Value>

source§

fn from(l: Local<'s, StringObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Symbol>> for Local<'s, Data>

source§

fn from(l: Local<'s, Symbol>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Symbol>> for Local<'s, Name>

source§

fn from(l: Local<'s, Symbol>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Symbol>> for Local<'s, Primitive>

source§

fn from(l: Local<'s, Symbol>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Symbol>> for Local<'s, Value>

source§

fn from(l: Local<'s, Symbol>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, SymbolObject>> for Local<'s, Data>

source§

fn from(l: Local<'s, SymbolObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, SymbolObject>> for Local<'s, Object>

source§

fn from(l: Local<'s, SymbolObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, SymbolObject>> for Local<'s, Value>

source§

fn from(l: Local<'s, SymbolObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Template>> for Local<'s, Data>

source§

fn from(l: Local<'s, Template>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, TypedArray>> for Local<'s, ArrayBufferView>

source§

fn from(l: Local<'s, TypedArray>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, TypedArray>> for Local<'s, Data>

source§

fn from(l: Local<'s, TypedArray>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, TypedArray>> for Local<'s, Object>

source§

fn from(l: Local<'s, TypedArray>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, TypedArray>> for Local<'s, Value>

source§

fn from(l: Local<'s, TypedArray>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint16Array>> for Local<'s, ArrayBufferView>

source§

fn from(l: Local<'s, Uint16Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint16Array>> for Local<'s, Data>

source§

fn from(l: Local<'s, Uint16Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint16Array>> for Local<'s, Object>

source§

fn from(l: Local<'s, Uint16Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint16Array>> for Local<'s, TypedArray>

source§

fn from(l: Local<'s, Uint16Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint16Array>> for Local<'s, Value>

source§

fn from(l: Local<'s, Uint16Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint32>> for Local<'s, Data>

source§

fn from(l: Local<'s, Uint32>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint32>> for Local<'s, Integer>

source§

fn from(l: Local<'s, Uint32>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint32>> for Local<'s, Number>

source§

fn from(l: Local<'s, Uint32>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint32>> for Local<'s, Primitive>

source§

fn from(l: Local<'s, Uint32>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint32>> for Local<'s, Value>

source§

fn from(l: Local<'s, Uint32>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint32Array>> for Local<'s, ArrayBufferView>

source§

fn from(l: Local<'s, Uint32Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint32Array>> for Local<'s, Data>

source§

fn from(l: Local<'s, Uint32Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint32Array>> for Local<'s, Object>

source§

fn from(l: Local<'s, Uint32Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint32Array>> for Local<'s, TypedArray>

source§

fn from(l: Local<'s, Uint32Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint32Array>> for Local<'s, Value>

source§

fn from(l: Local<'s, Uint32Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint8Array>> for Local<'s, ArrayBufferView>

source§

fn from(l: Local<'s, Uint8Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint8Array>> for Local<'s, Data>

source§

fn from(l: Local<'s, Uint8Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint8Array>> for Local<'s, Object>

source§

fn from(l: Local<'s, Uint8Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint8Array>> for Local<'s, TypedArray>

source§

fn from(l: Local<'s, Uint8Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint8Array>> for Local<'s, Value>

source§

fn from(l: Local<'s, Uint8Array>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint8ClampedArray>> for Local<'s, ArrayBufferView>

source§

fn from(l: Local<'s, Uint8ClampedArray>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint8ClampedArray>> for Local<'s, Data>

source§

fn from(l: Local<'s, Uint8ClampedArray>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint8ClampedArray>> for Local<'s, Object>

source§

fn from(l: Local<'s, Uint8ClampedArray>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint8ClampedArray>> for Local<'s, TypedArray>

source§

fn from(l: Local<'s, Uint8ClampedArray>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Uint8ClampedArray>> for Local<'s, Value>

source§

fn from(l: Local<'s, Uint8ClampedArray>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, UnboundModuleScript>> for Local<'s, Data>

source§

fn from(l: Local<'s, UnboundModuleScript>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, Value>> for Local<'s, Data>

source§

fn from(l: Local<'s, Value>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, WasmMemoryObject>> for Local<'s, Data>

source§

fn from(l: Local<'s, WasmMemoryObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, WasmMemoryObject>> for Local<'s, Object>

source§

fn from(l: Local<'s, WasmMemoryObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, WasmMemoryObject>> for Local<'s, Value>

source§

fn from(l: Local<'s, WasmMemoryObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, WasmModuleObject>> for Local<'s, Data>

source§

fn from(l: Local<'s, WasmModuleObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, WasmModuleObject>> for Local<'s, Object>

source§

fn from(l: Local<'s, WasmModuleObject>) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Local<'s, WasmModuleObject>> for Local<'s, Value>

source§

fn from(l: Local<'s, WasmModuleObject>) -> Self

Converts to this type from the input type.
source§

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

§

type Data = T

source§

fn open<'a>(&'a self, isolate: &mut Isolate) -> &'a Self::Data

Returns a reference to the V8 heap object that this handle represents. The handle does not get cloned, nor is it converted to a Local handle. Read more
source§

unsafe fn get_unchecked(&self) -> &Self::Data

Reads the inner value contained in this handle, without verifying that the this handle is hosted by the currently active Isolate. Read more
source§

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

§

type Data = T

source§

fn open<'a>(&'a self, isolate: &mut Isolate) -> &'a Self::Data

Returns a reference to the V8 heap object that this handle represents. The handle does not get cloned, nor is it converted to a Local handle. Read more
source§

unsafe fn get_unchecked(&self) -> &Self::Data

Reads the inner value contained in this handle, without verifying that the this handle is hosted by the currently active Isolate. Read more
source§

impl<'s, T: Hash> Hash for Local<'s, T>

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

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

source§

fn eq(&self, other: &Rhs) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, BigInt64Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, ArrayBufferView>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, BigUint64Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, ArrayBufferView>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, DataView>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, ArrayBufferView>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Float32Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, ArrayBufferView>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Float64Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, ArrayBufferView>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Int16Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, ArrayBufferView>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Int32Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, ArrayBufferView>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Int8Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, ArrayBufferView>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, TypedArray>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, ArrayBufferView>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Uint16Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, ArrayBufferView>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Uint32Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, ArrayBufferView>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Uint8Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, ArrayBufferView>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, ArrayBufferView>> for Local<'s, Uint8ClampedArray>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, ArrayBufferView>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, ArrayBuffer>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, ArrayBufferView>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, BigInt>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, BigInt64Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, BigIntObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, BigUint64Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Boolean>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, BooleanObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Context>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, DataView>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Date>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, External>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, FixedArray>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Float32Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Float64Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Function>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, FunctionTemplate>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Int16Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Int32>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Int32Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Int8Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Integer>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Map>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Module>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, ModuleRequest>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Name>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Number>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, NumberObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Object>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, ObjectTemplate>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Primitive>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Private>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Promise>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Proxy>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, RegExp>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Set>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, SharedArrayBuffer>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, String>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, StringObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Symbol>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, SymbolObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Template>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, TypedArray>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Uint16Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Uint32>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Uint32Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Uint8Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Uint8ClampedArray>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, Value>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, WasmMemoryObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Data>> for Local<'s, WasmModuleObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Data>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Integer>> for Local<'s, Int32>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Integer>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Integer>> for Local<'s, Uint32>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Integer>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Name>> for Local<'s, String>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Name>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Name>> for Local<'s, Symbol>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Name>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Number>> for Local<'s, Int32>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Number>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Number>> for Local<'s, Integer>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Number>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Number>> for Local<'s, Uint32>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Number>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, ArrayBuffer>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, ArrayBufferView>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, BigInt64Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, BigIntObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, BigUint64Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, BooleanObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, DataView>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Date>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Float32Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Float64Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Function>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Int16Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Int32Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Int8Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Map>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, NumberObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Promise>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Proxy>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, RegExp>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Set>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, SharedArrayBuffer>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, StringObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, SymbolObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, TypedArray>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Uint16Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Uint32Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Uint8Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, Uint8ClampedArray>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, WasmMemoryObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Object>> for Local<'s, WasmModuleObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Object>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, BigInt>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Primitive>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, Boolean>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Primitive>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, Int32>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Primitive>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, Integer>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Primitive>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, Name>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Primitive>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, Number>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Primitive>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, String>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Primitive>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, Symbol>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Primitive>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Primitive>> for Local<'s, Uint32>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Primitive>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Template>> for Local<'s, FunctionTemplate>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Template>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Template>> for Local<'s, ObjectTemplate>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Template>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, BigInt64Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, TypedArray>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, BigUint64Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, TypedArray>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Float32Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, TypedArray>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Float64Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, TypedArray>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Int16Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, TypedArray>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Int32Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, TypedArray>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Int8Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, TypedArray>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Uint16Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, TypedArray>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Uint32Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, TypedArray>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Uint8Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, TypedArray>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, TypedArray>> for Local<'s, Uint8ClampedArray>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, TypedArray>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, ArrayBuffer>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, ArrayBufferView>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, BigInt>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, BigInt64Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, BigIntObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, BigUint64Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Boolean>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, BooleanObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, DataView>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Date>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, External>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Float32Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Float64Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Function>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Int16Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Int32>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Int32Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Int8Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Integer>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Map>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Name>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Number>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, NumberObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Object>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Primitive>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Promise>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Proxy>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, RegExp>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Set>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, SharedArrayBuffer>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, String>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, StringObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Symbol>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, SymbolObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, TypedArray>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Uint16Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Uint32>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Uint32Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Uint8Array>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, Uint8ClampedArray>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, WasmMemoryObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'s> TryFrom<Local<'s, Value>> for Local<'s, WasmModuleObject>

§

type Error = DataError

The type returned in the event of a conversion error.
source§

fn try_from(l: Local<'s, Value>) -> Result<Self, Self::Error>

Performs the conversion.
source§

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

source§

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

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§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<F, T, Tag> MapFnTo<T, Tag> for Fwhere F: UnitType, T: MapFnFrom<F, Tag>,

source§

fn mapping() -> T

source§

fn map_fn_to(self) -> T

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.