wasm_bindgen_backend::util

Function wrap_import_function

source
pub fn wrap_import_function(function: ImportFunction) -> Import
Expand description

Convert an ImportFunction into the more generic Import type, wrapping the provided function