Skip to main content

Module attrs

Module attrs 

Source

FunctionsΒ§

check_exportable_type πŸ”’
Rejects an item #[wasm_bindgen] cannot export: anything that is not a struct or an enum, and any generic parameters on one.
find_wasm_bindgen πŸ”’
The #[wasm_bindgen] an item already carries, which a macro standing in for one must reject.
parse_args πŸ”’
Parses a macro’s own arguments, all of which are forwarded to the attribute it stands in for.
wasm_bindgen_args πŸ”’
The wasm_bindgen(..) arguments an attribute carries, whether written plainly or under #[cfg_attr(feature = "wasm", ..)].
wasm_bindgen_attr πŸ”’
#[cfg_attr(feature = "wasm", wasm_bindgen(<args>))], named through bitwarden_ffi so a call site imports nothing.

Type AliasesΒ§

Args πŸ”’
The arguments of an attribute, as written between its parentheses.