Module prelude
Source pub use wasm_bindgen;pub use super::derive::*;
- Closure
- A handle to both a closure in Rust as well as JS closure which will invoke
the Rust closure.
- JsError
- Convenience type for use on exported
fn() -> Result<T, JsError> functions, where you wish to
throw a JavaScript Error object. - JsValue
- Representation of an object owned by JS.
- JsCast
- A trait for checked and unchecked casting between JS types.
- UnwrapThrowExt
- An extension trait for
Option<T> and Result<T, E> for unwrapping the T
value, or throwing a JS error if it is not available.
- __wasm_bindgen_class_marker
- wasm_bindgen
- A list of all the attributes can be found here: https://wasm-bindgen.github.io/wasm-bindgen/reference/attributes/index.html