Movatterモバイル変換


[0]ホーム

URL:


Docs.rs

Module builtins

Modulebuiltins 

Source
Expand description

All Rust API wrappers for Boa’s ECMAScript objects.

The structs available in this module provide functionality to interact with native ECMAScript objects from Rust.

Structs§

JsArray
JsArray provides a wrapper for Boa’s implementation of the JavaScriptArray object.
JsArrayBuffer
JsArrayBuffer provides a wrapper for Boa’s implementation of the ECMAScriptArrayBuffer object
JsBigInt64Array
JsBigInt64Array provides a wrapper for Boa’s implementation of the ECMAScriptBigInt64Array builtin object.
JsBigUint64Array
JsBigUint64Array provides a wrapper for Boa’s implementation of the ECMAScriptBigUint64Array builtin object.
JsDataView
JsDataView provides a wrapper for Boa’s implementation of the ECMAScriptDataView object
JsDate
JsDate is a wrapper for JavaScriptJsDate builtin object
JsFloat16Array
JsFloat16Array provides a wrapper for Boa’s implementation of the ECMAScriptFloat16Array builtin object.
JsFloat32Array
JsFloat32Array provides a wrapper for Boa’s implementation of the ECMAScriptFloat32Array builtin object.
JsFloat64Array
JsFloat64Array provides a wrapper for Boa’s implementation of the ECMAScriptFloat64Array builtin object.
JsFunction
JavaScriptFunction rust object.
JsFuture
A Rust’sFuture that becomes ready when aJsPromise fulfills.
JsGenerator
JsGenerator provides a wrapper for Boa’s implementation of the ECMAScriptGenerator builtin object
JsInt8Array
JsInt8Array provides a wrapper for Boa’s implementation of the ECMAScriptInt8Array builtin object.
JsInt16Array
JsInt16Array provides a wrapper for Boa’s implementation of the ECMAScriptInt16Array builtin object.
JsInt32Array
JsInt32Array provides a wrapper for Boa’s implementation of the ECMAScriptInt32Array builtin object.
JsMap
JsMap provides a wrapper for Boa’s implementation of the ECMAScriptMap object.
JsMapIterator
JsMapIterator provides a wrapper for Boa’s implementation of the ECMAScriptMapIterator object.
JsPromise
An ECMAScriptpromise object.
JsProxy
JsProxy provides a wrapper for Boa’s implementation of the ECMAScriptProxy object
JsProxyBuilder
Utility builder to createJsProxy objects from native functions.
JsRegExp
JsRegExp provides a wrapper for Boa’s implementation of the ECMAScriptRegExp builtin object
JsRevocableProxy
JsRevocableProxy provides a wrapper forJsProxy that can be disabled.
JsSet
JsSet provides a wrapper for Boa’s implementation of the ECMAScriptSet object.
JsSetIterator
JsSetIterator provides a wrapper for Boa’s implementation of the ECMAScriptSetIterator object
JsSharedArrayBuffer
JsSharedArrayBuffer provides a wrapper for Boa’s implementation of the ECMAScriptArrayBuffer object
JsTypedArray
JsTypedArray provides a wrapper for Boa’s implementation of the ECMAScriptTypedArraybuiltin object.
JsUint8Array
JsUint8Array provides a wrapper for Boa’s implementation of the ECMAScriptUint8Array builtin object.
JsUint8ClampedArray
JsUint8ClampedArray provides a wrapper for Boa’s implementation of the ECMAScriptUint8ClampedArray builtin object.
JsUint16Array
JsUint16Array provides a wrapper for Boa’s implementation of the ECMAScriptUint16Array builtin object.
JsUint32Array
JsUint32Array provides a wrapper for Boa’s implementation of the ECMAScriptUint32Array builtin object.
TypedJsFunction
A JavaScriptFunction rust object, typed. This adds types toa JavaScript exported function, allowing for type checking andtype conversion in Rust. Those types must convert to aJsValuebut will not be verified at runtime (since JavaScript doesn’tactually have strong typing).

Traits§

TryIntoJsArguments
A trait for converting a tuple of Rust values into a vector ofJsValue,to be used as arguments for a JavaScript function.

Functions§

js_typed_array_from_kind
Create aJsTypedArray from aTypedArrayKind and a backingJsArrayBuffer.

Type Aliases§

AlignedVec
Vec, but aligned to a 64-bit memory address.

[8]ページ先頭

©2009-2025 Movatter.jp