Skip to main content

Module wasm_import

Module wasm_import 

Source

Enumsยง

Callee ๐Ÿ”’
How a wrapper reaches the import it wraps.

Constantsยง

KEEPS_ITS_NAME ๐Ÿ”’
wasm_bindgen arguments under which renaming an import would change what it binds to, so an import carrying one is left as written.

Functionsยง

wasm_import ๐Ÿ”’
Declares a block of JavaScript imports, forwarding this macroโ€™s arguments to #[wasm_bindgen], and implements the wire traits for each type it declares so the type crosses as itself.
wrap_import ๐Ÿ”’
Renames a catch import whose parameters need converting and returns the wrapper that converts them, or None to leave the import as written.