This documentation is no longer maintained at this domain, and is now maintained at wasm-bindgen.github.io instead.

#[wasm_bindgen] on Rust Exports

This section enumerates the attributes available for customizing bindings for Rust functions and structs exported to JavaScript.