wasm_bindgen

Attribute Macro wasm_bindgen 

Source
#[wasm_bindgen]
Expand description

The main wasm_bindgen attribute macro.

This expands to both wasm-bindgen (for wasm32) and wry-bindgen (for desktop) using cfg attributes directly on the generated code.