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

#[wasm_bindgen] on JavaScript Imports

This section enumerates the attributes available for customizing bindings for JavaScript functions and classes imported into Rust within an extern "C" { ... } block.