Skip to main content

Module builtins

Module builtins 

Source
Expand description

Web API グローバル組み込み群(ブラウザ環境向け拡張)。

crate::os_lib::ecma::builtins::install が登録した globalThis を共有の window として拡張し、 DOM・Fetch・XHR・Storage・Performance・Streams・MSE・Worker・Crypto・Blob・CSSOM・Observers 等を登録する。

Modules§

blob_file 🔒
crypto_subtle 🔒
crypto.subtle(SubtleCrypto)の部分実装。
dom 🔒
dom_attr 🔒
dom_doc 🔒
dom_document 🔒
dom_forward 🔒
Node.prototype・Element.prototype に置く、組込みの DOM メソッドへの転送。
dom_handlers 🔒
dom_ns 🔒
dom_pi 🔒
dom_tree 🔒
events 🔒
fetch_body 🔒
mse 🔒
W3C Media Source Extensions (MSE) の JavaScript バインディング
observers 🔒
range 🔒
static_classlist 🔒
streams 🔒
WHATWG Streams API の JavaScript バインディング
text_clone 🔒
url_parser 🔒
WHATWG URL Standard のパーサ(基本パーサの状態機械・ホスト解析・シリアライズ・セッター)。 new URL() / URL.canParse() / URL のセッターの実体。DOM にもカーネルにも依存しない純粋なロジック。 IDNA は UTS46 の完全な対応表を持たず、小文字化・全角 ASCII・句点・無視される文字・Punycode だけを扱う。
wasm_api 🔒
web_forms 🔒
web_perf 🔒
window_api 🔒
worker 🔒
WHATWG HTML Living Standard § 10 準拠の Web Worker バインディング

Macros§

format 🔒
Creates a String using interpolation of runtime expressions.

Structs§

Rc 🔒
A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.
RefCell 🔒
A mutable memory location with dynamically checked borrow rules
String 🔒
A UTF-8–encoded, growable string.
Vec 🔒
A contiguous growable array type, written as Vec<T>, short for ‘vector’.

Enums§

Ordering 🔒
Atomic memory orderings

Constants§

WINDOW_MIRRORED_GLOBALS 🔒
window. 経由でも読めるようにするグローバル名。

Traits§

ToString 🔒
A trait for converting a value to a String.

Functions§

install
ecma::builtins::install 済みのグローバルスコープへ Web API 一式を追加登録する。

Type Aliases§

AtomicU64 🔒
An integer type which can be safely shared between threads.