fn take_shim(
item_attrs: &mut Vec<Attribute>,
sig: &Signature,
in_impl: bool,
export_name: Ident,
moved: Punctuated<Meta, Comma>,
) -> Result<TokenStream>Expand description
Builds one function’s shim, moving the #[wasm_bindgen(..)] it declares onto that shim.
moved is prepended to the arguments the shim carries.