Struct rustjs::deno_core::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<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>, ) -> Local<'s, T>

Construct a new Local from an existing Handle.

source

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

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) -> Local<'s, T>

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 for Local<'s, T>
where T: Debug,

source§

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

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>) -> Local<'s, Data>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Primitive>

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>) -> Local<'s, Value>

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>) -> Local<'s, ArrayBufferView>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, TypedArray>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, ArrayBufferView>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, TypedArray>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Primitive>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, ArrayBufferView>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, ArrayBufferView>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, TypedArray>

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>) -> Local<'s, Value>

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>) -> Local<'s, ArrayBufferView>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, TypedArray>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Template>

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>) -> Local<'s, ArrayBufferView>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, TypedArray>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Integer>

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>) -> Local<'s, Number>

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>) -> Local<'s, Primitive>

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>) -> Local<'s, Value>

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>) -> Local<'s, ArrayBufferView>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, TypedArray>

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>) -> Local<'s, Value>

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>) -> Local<'s, ArrayBufferView>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, TypedArray>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Number>

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>) -> Local<'s, Primitive>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Data>

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>) -> Local<'s, Data>

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>) -> Local<'s, Primitive>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Primitive>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Template>

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>) -> Local<'s, Data>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Data>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Data>

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>) -> Local<'s, Name>

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>) -> Local<'s, Primitive>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Name>

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>) -> Local<'s, Primitive>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, ArrayBufferView>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, ArrayBufferView>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, TypedArray>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Integer>

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>) -> Local<'s, Number>

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>) -> Local<'s, Primitive>

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>) -> Local<'s, Value>

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>) -> Local<'s, ArrayBufferView>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, TypedArray>

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>) -> Local<'s, Value>

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>) -> Local<'s, ArrayBufferView>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, TypedArray>

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>) -> Local<'s, Value>

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>) -> Local<'s, ArrayBufferView>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, TypedArray>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Data>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

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>) -> Local<'s, Data>

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>) -> Local<'s, Object>

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>) -> Local<'s, Value>

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

§

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 for Local<'s, T>
where T: Hash,

source§

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

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> PartialEq<Rhs> for Local<'s, T>
where Rhs: Handle, T: PartialEq<<Rhs as Handle>::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<Local<'s, BigInt64Array>, <Local<'s, BigInt64Array> as TryFrom<Local<'s, ArrayBufferView>>>::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<Local<'s, BigUint64Array>, <Local<'s, BigUint64Array> as TryFrom<Local<'s, ArrayBufferView>>>::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<Local<'s, DataView>, <Local<'s, DataView> as TryFrom<Local<'s, ArrayBufferView>>>::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<Local<'s, Float32Array>, <Local<'s, Float32Array> as TryFrom<Local<'s, ArrayBufferView>>>::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<Local<'s, Float64Array>, <Local<'s, Float64Array> as TryFrom<Local<'s, ArrayBufferView>>>::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<Local<'s, Int16Array>, <Local<'s, Int16Array> as TryFrom<Local<'s, ArrayBufferView>>>::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<Local<'s, Int32Array>, <Local<'s, Int32Array> as TryFrom<Local<'s, ArrayBufferView>>>::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<Local<'s, Int8Array>, <Local<'s, Int8Array> as TryFrom<Local<'s, ArrayBufferView>>>::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<Local<'s, TypedArray>, <Local<'s, TypedArray> as TryFrom<Local<'s, ArrayBufferView>>>::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<Local<'s, Uint16Array>, <Local<'s, Uint16Array> as TryFrom<Local<'s, ArrayBufferView>>>::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<Local<'s, Uint32Array>, <Local<'s, Uint32Array> as TryFrom<Local<'s, ArrayBufferView>>>::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<Local<'s, Uint8Array>, <Local<'s, Uint8Array> as TryFrom<Local<'s, ArrayBufferView>>>::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<Local<'s, Uint8ClampedArray>, <Local<'s, Uint8ClampedArray> as TryFrom<Local<'s, ArrayBufferView>>>::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<Local<'s, Array>, <Local<'s, Array> as TryFrom<Local<'s, Data>>>::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<Local<'s, ArrayBuffer>, <Local<'s, ArrayBuffer> as TryFrom<Local<'s, Data>>>::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<Local<'s, ArrayBufferView>, <Local<'s, ArrayBufferView> as TryFrom<Local<'s, Data>>>::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<Local<'s, BigInt>, <Local<'s, BigInt> as TryFrom<Local<'s, Data>>>::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<Local<'s, BigInt64Array>, <Local<'s, BigInt64Array> as TryFrom<Local<'s, Data>>>::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<Local<'s, BigIntObject>, <Local<'s, BigIntObject> as TryFrom<Local<'s, Data>>>::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<Local<'s, BigUint64Array>, <Local<'s, BigUint64Array> as TryFrom<Local<'s, Data>>>::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<Local<'s, Boolean>, <Local<'s, Boolean> as TryFrom<Local<'s, Data>>>::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<Local<'s, BooleanObject>, <Local<'s, BooleanObject> as TryFrom<Local<'s, Data>>>::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<Local<'s, Context>, <Local<'s, Context> as TryFrom<Local<'s, Data>>>::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<Local<'s, DataView>, <Local<'s, DataView> as TryFrom<Local<'s, Data>>>::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<Local<'s, Date>, <Local<'s, Date> as TryFrom<Local<'s, Data>>>::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<Local<'s, External>, <Local<'s, External> as TryFrom<Local<'s, Data>>>::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<Local<'s, FixedArray>, <Local<'s, FixedArray> as TryFrom<Local<'s, Data>>>::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<Local<'s, Float32Array>, <Local<'s, Float32Array> as TryFrom<Local<'s, Data>>>::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<Local<'s, Float64Array>, <Local<'s, Float64Array> as TryFrom<Local<'s, Data>>>::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<Local<'s, Function>, <Local<'s, Function> as TryFrom<Local<'s, Data>>>::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<Local<'s, FunctionTemplate>, <Local<'s, FunctionTemplate> as TryFrom<Local<'s, Data>>>::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<Local<'s, Int16Array>, <Local<'s, Int16Array> as TryFrom<Local<'s, Data>>>::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<Local<'s, Int32>, <Local<'s, Int32> as TryFrom<Local<'s, Data>>>::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<Local<'s, Int32Array>, <Local<'s, Int32Array> as TryFrom<Local<'s, Data>>>::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<Local<'s, Int8Array>, <Local<'s, Int8Array> as TryFrom<Local<'s, Data>>>::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<Local<'s, Integer>, <Local<'s, Integer> as TryFrom<Local<'s, Data>>>::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<Local<'s, Map>, <Local<'s, Map> as TryFrom<Local<'s, Data>>>::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<Local<'s, Module>, <Local<'s, Module> as TryFrom<Local<'s, Data>>>::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<Local<'s, ModuleRequest>, <Local<'s, ModuleRequest> as TryFrom<Local<'s, Data>>>::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<Local<'s, Name>, <Local<'s, Name> as TryFrom<Local<'s, Data>>>::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<Local<'s, Number>, <Local<'s, Number> as TryFrom<Local<'s, Data>>>::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<Local<'s, NumberObject>, <Local<'s, NumberObject> as TryFrom<Local<'s, Data>>>::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<Local<'s, Object>, <Local<'s, Object> as TryFrom<Local<'s, Data>>>::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<Local<'s, ObjectTemplate>, <Local<'s, ObjectTemplate> as TryFrom<Local<'s, Data>>>::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<Local<'s, Primitive>, <Local<'s, Primitive> as TryFrom<Local<'s, Data>>>::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<Local<'s, Private>, <Local<'s, Private> as TryFrom<Local<'s, Data>>>::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<Local<'s, Promise>, <Local<'s, Promise> as TryFrom<Local<'s, Data>>>::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<Local<'s, Proxy>, <Local<'s, Proxy> as TryFrom<Local<'s, Data>>>::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<Local<'s, RegExp>, <Local<'s, RegExp> as TryFrom<Local<'s, Data>>>::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<Local<'s, Set>, <Local<'s, Set> as TryFrom<Local<'s, Data>>>::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<Local<'s, SharedArrayBuffer>, <Local<'s, SharedArrayBuffer> as TryFrom<Local<'s, Data>>>::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<Local<'s, String>, <Local<'s, String> as TryFrom<Local<'s, Data>>>::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<Local<'s, StringObject>, <Local<'s, StringObject> as TryFrom<Local<'s, Data>>>::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<Local<'s, Symbol>, <Local<'s, Symbol> as TryFrom<Local<'s, Data>>>::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<Local<'s, SymbolObject>, <Local<'s, SymbolObject> as TryFrom<Local<'s, Data>>>::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<Local<'s, Template>, <Local<'s, Template> as TryFrom<Local<'s, Data>>>::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<Local<'s, TypedArray>, <Local<'s, TypedArray> as TryFrom<Local<'s, Data>>>::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<Local<'s, Uint16Array>, <Local<'s, Uint16Array> as TryFrom<Local<'s, Data>>>::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<Local<'s, Uint32>, <Local<'s, Uint32> as TryFrom<Local<'s, Data>>>::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<Local<'s, Uint32Array>, <Local<'s, Uint32Array> as TryFrom<Local<'s, Data>>>::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<Local<'s, Uint8Array>, <Local<'s, Uint8Array> as TryFrom<Local<'s, Data>>>::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<Local<'s, Uint8ClampedArray>, <Local<'s, Uint8ClampedArray> as TryFrom<Local<'s, Data>>>::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<Local<'s, Value>, <Local<'s, Value> as TryFrom<Local<'s, Data>>>::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<Local<'s, WasmMemoryObject>, <Local<'s, WasmMemoryObject> as TryFrom<Local<'s, Data>>>::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<Local<'s, WasmModuleObject>, <Local<'s, WasmModuleObject> as TryFrom<Local<'s, Data>>>::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<Local<'s, Int32>, <Local<'s, Int32> as TryFrom<Local<'s, Integer>>>::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<Local<'s, Uint32>, <Local<'s, Uint32> as TryFrom<Local<'s, Integer>>>::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<Local<'s, String>, <Local<'s, String> as TryFrom<Local<'s, Name>>>::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<Local<'s, Symbol>, <Local<'s, Symbol> as TryFrom<Local<'s, Name>>>::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<Local<'s, Int32>, <Local<'s, Int32> as TryFrom<Local<'s, Number>>>::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<Local<'s, Integer>, <Local<'s, Integer> as TryFrom<Local<'s, Number>>>::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<Local<'s, Uint32>, <Local<'s, Uint32> as TryFrom<Local<'s, Number>>>::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<Local<'s, Array>, <Local<'s, Array> as TryFrom<Local<'s, Object>>>::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<Local<'s, ArrayBuffer>, <Local<'s, ArrayBuffer> as TryFrom<Local<'s, Object>>>::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<Local<'s, ArrayBufferView>, <Local<'s, ArrayBufferView> as TryFrom<Local<'s, Object>>>::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<Local<'s, BigInt64Array>, <Local<'s, BigInt64Array> as TryFrom<Local<'s, Object>>>::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<Local<'s, BigIntObject>, <Local<'s, BigIntObject> as TryFrom<Local<'s, Object>>>::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<Local<'s, BigUint64Array>, <Local<'s, BigUint64Array> as TryFrom<Local<'s, Object>>>::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<Local<'s, BooleanObject>, <Local<'s, BooleanObject> as TryFrom<Local<'s, Object>>>::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<Local<'s, DataView>, <Local<'s, DataView> as TryFrom<Local<'s, Object>>>::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<Local<'s, Date>, <Local<'s, Date> as TryFrom<Local<'s, Object>>>::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<Local<'s, Float32Array>, <Local<'s, Float32Array> as TryFrom<Local<'s, Object>>>::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<Local<'s, Float64Array>, <Local<'s, Float64Array> as TryFrom<Local<'s, Object>>>::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<Local<'s, Function>, <Local<'s, Function> as TryFrom<Local<'s, Object>>>::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<Local<'s, Int16Array>, <Local<'s, Int16Array> as TryFrom<Local<'s, Object>>>::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<Local<'s, Int32Array>, <Local<'s, Int32Array> as TryFrom<Local<'s, Object>>>::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<Local<'s, Int8Array>, <Local<'s, Int8Array> as TryFrom<Local<'s, Object>>>::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<Local<'s, Map>, <Local<'s, Map> as TryFrom<Local<'s, Object>>>::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<Local<'s, NumberObject>, <Local<'s, NumberObject> as TryFrom<Local<'s, Object>>>::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<Local<'s, Promise>, <Local<'s, Promise> as TryFrom<Local<'s, Object>>>::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<Local<'s, Proxy>, <Local<'s, Proxy> as TryFrom<Local<'s, Object>>>::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<Local<'s, RegExp>, <Local<'s, RegExp> as TryFrom<Local<'s, Object>>>::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<Local<'s, Set>, <Local<'s, Set> as TryFrom<Local<'s, Object>>>::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<Local<'s, SharedArrayBuffer>, <Local<'s, SharedArrayBuffer> as TryFrom<Local<'s, Object>>>::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<Local<'s, StringObject>, <Local<'s, StringObject> as TryFrom<Local<'s, Object>>>::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<Local<'s, SymbolObject>, <Local<'s, SymbolObject> as TryFrom<Local<'s, Object>>>::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<Local<'s, TypedArray>, <Local<'s, TypedArray> as TryFrom<Local<'s, Object>>>::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<Local<'s, Uint16Array>, <Local<'s, Uint16Array> as TryFrom<Local<'s, Object>>>::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<Local<'s, Uint32Array>, <Local<'s, Uint32Array> as TryFrom<Local<'s, Object>>>::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<Local<'s, Uint8Array>, <Local<'s, Uint8Array> as TryFrom<Local<'s, Object>>>::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<Local<'s, Uint8ClampedArray>, <Local<'s, Uint8ClampedArray> as TryFrom<Local<'s, Object>>>::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<Local<'s, WasmMemoryObject>, <Local<'s, WasmMemoryObject> as TryFrom<Local<'s, Object>>>::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<Local<'s, WasmModuleObject>, <Local<'s, WasmModuleObject> as TryFrom<Local<'s, Object>>>::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<Local<'s, BigInt>, <Local<'s, BigInt> as TryFrom<Local<'s, Primitive>>>::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<Local<'s, Boolean>, <Local<'s, Boolean> as TryFrom<Local<'s, Primitive>>>::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<Local<'s, Int32>, <Local<'s, Int32> as TryFrom<Local<'s, Primitive>>>::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<Local<'s, Integer>, <Local<'s, Integer> as TryFrom<Local<'s, Primitive>>>::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<Local<'s, Name>, <Local<'s, Name> as TryFrom<Local<'s, Primitive>>>::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<Local<'s, Number>, <Local<'s, Number> as TryFrom<Local<'s, Primitive>>>::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<Local<'s, String>, <Local<'s, String> as TryFrom<Local<'s, Primitive>>>::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<Local<'s, Symbol>, <Local<'s, Symbol> as TryFrom<Local<'s, Primitive>>>::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<Local<'s, Uint32>, <Local<'s, Uint32> as TryFrom<Local<'s, Primitive>>>::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<Local<'s, FunctionTemplate>, <Local<'s, FunctionTemplate> as TryFrom<Local<'s, Template>>>::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<Local<'s, ObjectTemplate>, <Local<'s, ObjectTemplate> as TryFrom<Local<'s, Template>>>::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<Local<'s, BigInt64Array>, <Local<'s, BigInt64Array> as TryFrom<Local<'s, TypedArray>>>::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<Local<'s, BigUint64Array>, <Local<'s, BigUint64Array> as TryFrom<Local<'s, TypedArray>>>::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<Local<'s, Float32Array>, <Local<'s, Float32Array> as TryFrom<Local<'s, TypedArray>>>::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<Local<'s, Float64Array>, <Local<'s, Float64Array> as TryFrom<Local<'s, TypedArray>>>::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<Local<'s, Int16Array>, <Local<'s, Int16Array> as TryFrom<Local<'s, TypedArray>>>::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<Local<'s, Int32Array>, <Local<'s, Int32Array> as TryFrom<Local<'s, TypedArray>>>::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<Local<'s, Int8Array>, <Local<'s, Int8Array> as TryFrom<Local<'s, TypedArray>>>::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<Local<'s, Uint16Array>, <Local<'s, Uint16Array> as TryFrom<Local<'s, TypedArray>>>::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<Local<'s, Uint32Array>, <Local<'s, Uint32Array> as TryFrom<Local<'s, TypedArray>>>::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<Local<'s, Uint8Array>, <Local<'s, Uint8Array> as TryFrom<Local<'s, TypedArray>>>::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<Local<'s, Uint8ClampedArray>, <Local<'s, Uint8ClampedArray> as TryFrom<Local<'s, TypedArray>>>::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<Local<'s, Array>, <Local<'s, Array> as TryFrom<Local<'s, Value>>>::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<Local<'s, ArrayBuffer>, <Local<'s, ArrayBuffer> as TryFrom<Local<'s, Value>>>::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<Local<'s, ArrayBufferView>, <Local<'s, ArrayBufferView> as TryFrom<Local<'s, Value>>>::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<Local<'s, BigInt>, <Local<'s, BigInt> as TryFrom<Local<'s, Value>>>::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<Local<'s, BigInt64Array>, <Local<'s, BigInt64Array> as TryFrom<Local<'s, Value>>>::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<Local<'s, BigIntObject>, <Local<'s, BigIntObject> as TryFrom<Local<'s, Value>>>::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<Local<'s, BigUint64Array>, <Local<'s, BigUint64Array> as TryFrom<Local<'s, Value>>>::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<Local<'s, Boolean>, <Local<'s, Boolean> as TryFrom<Local<'s, Value>>>::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<Local<'s, BooleanObject>, <Local<'s, BooleanObject> as TryFrom<Local<'s, Value>>>::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<Local<'s, DataView>, <Local<'s, DataView> as TryFrom<Local<'s, Value>>>::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<Local<'s, Date>, <Local<'s, Date> as TryFrom<Local<'s, Value>>>::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<Local<'s, External>, <Local<'s, External> as TryFrom<Local<'s, Value>>>::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<Local<'s, Float32Array>, <Local<'s, Float32Array> as TryFrom<Local<'s, Value>>>::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<Local<'s, Float64Array>, <Local<'s, Float64Array> as TryFrom<Local<'s, Value>>>::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<Local<'s, Function>, <Local<'s, Function> as TryFrom<Local<'s, Value>>>::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<Local<'s, Int16Array>, <Local<'s, Int16Array> as TryFrom<Local<'s, Value>>>::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<Local<'s, Int32>, <Local<'s, Int32> as TryFrom<Local<'s, Value>>>::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<Local<'s, Int32Array>, <Local<'s, Int32Array> as TryFrom<Local<'s, Value>>>::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<Local<'s, Int8Array>, <Local<'s, Int8Array> as TryFrom<Local<'s, Value>>>::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<Local<'s, Integer>, <Local<'s, Integer> as TryFrom<Local<'s, Value>>>::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<Local<'s, Map>, <Local<'s, Map> as TryFrom<Local<'s, Value>>>::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<Local<'s, Name>, <Local<'s, Name> as TryFrom<Local<'s, Value>>>::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<Local<'s, Number>, <Local<'s, Number> as TryFrom<Local<'s, Value>>>::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<Local<'s, NumberObject>, <Local<'s, NumberObject> as TryFrom<Local<'s, Value>>>::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<Local<'s, Object>, <Local<'s, Object> as TryFrom<Local<'s, Value>>>::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<Local<'s, Primitive>, <Local<'s, Primitive> as TryFrom<Local<'s, Value>>>::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<Local<'s, Promise>, <Local<'s, Promise> as TryFrom<Local<'s, Value>>>::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<Local<'s, Proxy>, <Local<'s, Proxy> as TryFrom<Local<'s, Value>>>::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<Local<'s, RegExp>, <Local<'s, RegExp> as TryFrom<Local<'s, Value>>>::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<Local<'s, Set>, <Local<'s, Set> as TryFrom<Local<'s, Value>>>::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<Local<'s, SharedArrayBuffer>, <Local<'s, SharedArrayBuffer> as TryFrom<Local<'s, Value>>>::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<Local<'s, String>, <Local<'s, String> as TryFrom<Local<'s, Value>>>::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<Local<'s, StringObject>, <Local<'s, StringObject> as TryFrom<Local<'s, Value>>>::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<Local<'s, Symbol>, <Local<'s, Symbol> as TryFrom<Local<'s, Value>>>::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<Local<'s, SymbolObject>, <Local<'s, SymbolObject> as TryFrom<Local<'s, Value>>>::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<Local<'s, TypedArray>, <Local<'s, TypedArray> as TryFrom<Local<'s, Value>>>::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<Local<'s, Uint16Array>, <Local<'s, Uint16Array> as TryFrom<Local<'s, Value>>>::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<Local<'s, Uint32>, <Local<'s, Uint32> as TryFrom<Local<'s, Value>>>::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<Local<'s, Uint32Array>, <Local<'s, Uint32Array> as TryFrom<Local<'s, Value>>>::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<Local<'s, Uint8Array>, <Local<'s, Uint8Array> as TryFrom<Local<'s, Value>>>::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<Local<'s, Uint8ClampedArray>, <Local<'s, Uint8ClampedArray> as TryFrom<Local<'s, Value>>>::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<Local<'s, WasmMemoryObject>, <Local<'s, WasmMemoryObject> as TryFrom<Local<'s, Value>>>::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<Local<'s, WasmModuleObject>, <Local<'s, WasmModuleObject> as TryFrom<Local<'s, Value>>>::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> 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> AsOut<T> for T
where T: Copy,

source§

fn as_out(&mut self) -> Out<'_, T>

Returns an out reference to self.
source§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

source§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

source§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

source§

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

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: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

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

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> Conv for T

source§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> Downcast<T> for T

source§

fn downcast(&self) -> &T

source§

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

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> FmtForward for T

source§

fn fmt_binary(self) -> FmtBinary<Self>
where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
source§

fn fmt_display(self) -> FmtDisplay<Self>
where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
source§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>
where Self: LowerExp,

Causes self to use its LowerExp implementation when Debug-formatted.
source§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>
where Self: LowerHex,

Causes self to use its LowerHex implementation when Debug-formatted.
source§

fn fmt_octal(self) -> FmtOctal<Self>
where Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
source§

fn fmt_pointer(self) -> FmtPointer<Self>
where Self: Pointer,

Causes self to use its Pointer implementation when Debug-formatted.
source§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>
where Self: UpperExp,

Causes self to use its UpperExp implementation when Debug-formatted.
source§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>
where Self: UpperHex,

Causes self to use its UpperHex implementation when Debug-formatted.
source§

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

impl<F, T, Tag> MapFnTo<T, Tag> for F
where F: UnitType, T: MapFnFrom<F, Tag>,

source§

fn mapping() -> T

source§

fn map_fn_to(self) -> T

source§

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

source§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
source§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R
where R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
source§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R
where R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
source§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
source§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
source§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
source§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe function.
source§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
source§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R, ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
source§

impl<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> Tap for T

source§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
source§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
source§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
source§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
source§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
source§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
source§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
source§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
source§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
source§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
source§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release builds.
source§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.
source§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release builds.
source§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
source§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
source§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
source§

impl<T> ToOwned for T
where 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> TryConv for T

source§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for T
where 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 T
where 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.
source§

impl<T> Upcast<T> for T

source§

fn upcast(&self) -> Option<&T>

source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> Formattable for T
where T: Deref, <T as Deref>::Target: Formattable,

source§

impl<T> Parsable for T
where T: Deref, <T as Deref>::Target: Parsable,

source§

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

source§

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