Skip to main content
Module wasm_import
bitwarden_
ffi_
macro
4.0.0
Module wasm_
import
Module Items
Enums
Constants
Functions
In crate bitwarden_
ffi_
macro
bitwarden_ffi_macro
Module
wasm_
import
Copy item path
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.