Skip to main content

wasm_export_impl

Function wasm_export_impl 

Source
fn wasm_export_impl(attr: TokenStream, impl_block: ItemImpl) -> TokenStream
Expand description

#[wasm_export] on an impl block: the block takes the attribute, and each method keeps the #[wasm_bindgen(..)] it declares for itself.