Re-exports§
pub use paste;pub use js_sys;pub use tsify;pub use wasm_bindgen;pub use serde_wasm_bindgen;pub use wasm_bindgen_futures;
Structs§
- 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 JavaScriptErrorobject. - JsValue
- Representation of an object owned by JS.
Traits§
- JsCast
- A trait for checked and unchecked casting between JS types.
- Tsify
- Unwrap
Throw Ext - An extension trait for
Option<T>andResult<T, E>for unwrapping theTvalue, or throwing a JS error if it is not available.
Functions§
- from_
js_ value - Converts
JsValueinto a Rust type. - to_
js_ value - Converts a Rust value into a
JsValue.
Attribute Macros§
- __
wasm_ bindgen_ class_ marker - wasm_
bindgen - A list of all the attributes can be found here: https://rustwasm.github.io/docs/wasm-bindgen/reference/attributes/index.html