Function module

pub fn module() -> JsValue

Returns a handle to this Wasm instance's WebAssembly.Module. This is only available when the final Wasm app is built with --target no-modules, --target web, --target deno or --target nodejs. It is unavailable for --target bundler.