Skip to main contentModule attrs
Source - 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.
- Args π
- The arguments of an attribute, as written between its parentheses.