Struct v8::value::External [] [src]

pub struct External(_, _);

A JavaScript value that wraps an external value. This type of value is mainly used to associate native data structures with JavaScript objects.

Methods

impl External
[src]

Creates an external from a set of raw pointers.

Returns the underlying raw pointer behind this external.

Methods from Deref<Target=Value>

Returns true if this value is the undefined value. See ECMA-262 4.3.10.

Returns true if this value is the null value. See ECMA-262 4.3.11.

Returns true if this value is true.

Returns true if this value is false.

Returns true if this value is a symbol or a string.

This is an experimental feature.

Returns true if this value is an instance of the String type. See ECMA-262 8.4.

Returns true if this value is a symbol.

This is an experimental feature.

Returns true if this value is a function.

Returns true if this value is an array. Note that it will return false for an Proxy for an array.

Returns true if this value is an object.

Returns true if this value is boolean.

Returns true if this value is a number.

Returns true if this value is external.

Returns true if this value is a 32-bit signed integer.

Returns true if this value is a 32-bit unsigned integer.

Returns true if this value is a Date.

Returns true if this value is an Arguments object.

Returns true if this value is a Boolean object.

Returns true if this value is a Number object.

Returns true if this value is a String object.

Returns true if this value is a Symbol object.

This is an experimental feature.

Returns true if this value is a NativeError.

Returns true if this value is a RegExp.

Returns true if this value is a Generator function.

This is an experimental feature.

Returns true if this value is a Generator object (iterator).

This is an experimental feature.

Returns true if this value is a Promise.

This is an experimental feature.

Returns true if this value is a Map.

Returns true if this value is a Set.

Returns true if this value is a Map Iterator.

Returns true if this value is a Set Iterator.

Returns true if this value is a WeakMap.

Returns true if this value is a WeakSet.

Returns true if this value is an ArrayBuffer.

This is an experimental feature.

Returns true if this value is an ArrayBufferView.

This is an experimental feature.

Returns true if this value is one of TypedArrays.

This is an experimental feature.

Returns true if this value is an Uint8Array.

This is an experimental feature.

Returns true if this value is an Uint8ClampedArray.

This is an experimental feature.

Returns true if this value is an Int8Array.

This is an experimental feature.

Returns true if this value is an Uint16Array.

This is an experimental feature.

Returns true if this value is an Int16Array.

This is an experimental feature.

Returns true if this value is an Uint32Array.

This is an experimental feature.

Returns true if this value is an Int32Array.

This is an experimental feature.

Returns true if this value is a Float32Array.

This is an experimental feature.

Returns true if this value is a Float64Array.

This is an experimental feature.

Returns true if this value is a DataView.

This is an experimental feature.

Returns true if this value is a SharedArrayBuffer.

This is an experimental feature.

Returns true if this value is a JavaScript Proxy.

Returns the underlying raw pointer behind this value.

Trait Implementations

impl Debug for External
[src]

Formats the value using the given formatter.

impl Deref for External
[src]

The resulting type after dereferencing

The method called to dereference a value

impl Clone for External
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Drop for External
[src]

A method called when the value goes out of scope. Read more