Crate wasm_bindgen[][src]

Runtime support for the wasm-bindgen tool

This crate contains the runtime support necessary for wasm-bindgen the attribute and tool. Crates pull in the #[wasm_bindgen] attribute through this crate and this crate also provides JS bindings through the JsValue interface.

Modules

closure

Support for long-lived closures in wasm-bindgen

convert

This is mostly an internal module, no stability guarantees are provided. Use at your own risk.

prelude

A module which is typically glob imported from:

Macros

__wbindgen_if_not_std

Structs

JsStatic

Wrapper type for imported statics.

JsValue

Representation of an object owned by JS.

Functions

throw

Throws a JS exception.