[go: up one dir, main page]

Struct 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<Object>); 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<Local>.

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_unchecked<A>(other: Local<'s, A>) -> Self
where Local<'s, A>: TryFrom<Self>,

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

Sourceยง

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

Source

pub fn try_cast<A>( self, ) -> Result<Local<'s, A>, <Self as TryInto<Local<'s, A>>>::Error>
where Self: TryInto<Local<'s, A>>,

Attempts to cast the contained type to another, returning an error if the conversion fails.

ยงExamples
โ“˜
let value: Local<'_, Value> = get_v8_value();

if let Ok(func) = value.try_cast::<Function> {
  //
}
Source

pub fn cast<A>(self) -> Local<'s, A>
where Self: TryInto<Local<'s, A>, Error: Debug>,

Attempts to cast the contained type to another, panicking if the conversion fails.

ยงExample
โ“˜
let value: Local<'_, Value> = get_v8_value();

let func = value.cast::<Function>();

Trait Implementationsยง

Sourceยง

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

Sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Sourceยง

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

Sourceยง

fn clone(&self) -> Self

Returns a duplicate 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<T> Deref for Local<'_, T>

Sourceยง

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>

Sourceยง

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<T> Handle for Local<'_, T>

Sourceยง

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<T: Hash> Hash for Local<'_, 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<T, Rhs: Handle> PartialEq<Rhs> for Local<'_, T>
where T: PartialEq<Rhs::Data>,

Sourceยง

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

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

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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>

Sourceยง

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<T> Copy for Local<'_, T>

Sourceยง

impl<T> Eq for Local<'_, T>
where T: Eq,

Auto Trait Implementationsยง

ยง

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

ยง

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 T
where T: 'static + ?Sized,

Sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

Sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Sourceยง

impl<T> BorrowMut<T> for T
where T: ?Sized,

Sourceยง

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Sourceยง

impl<T> CloneToUninit for T
where T: Clone,

Sourceยง

unsafe fn clone_to_uninit(&self, dest: *mut u8)

๐Ÿ”ฌThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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 T
where 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 F
where F: UnitType, T: MapFnFrom<F, Tag>,

Sourceยง

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Sourceยง

type Target = T

๐Ÿ”ฌThis is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Sourceยง

impl<T> ToOwned for T
where T: Clone,

Sourceยง

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 T
where U: Into<T>,

Sourceยง

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 T
where U: TryFrom<T>,

Sourceยง

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.