Module typed_func

Source
Expand description

Trait to interact with native functions. Native Functions.

This module creates the helper TypedFunction that let us call WebAssembly functions with the native ABI, that is:

โ“˜
let add_one = instance.exports.get_function("function_name")?;
let add_one_native: TypedFunction<i32, i32> = add_one.native().unwrap();

Macrosยง

impl_native_traits ๐Ÿ”’

Structsยง

TypedFunction
A WebAssembly function that can be called natively (using the Native ABI).

Functionsยง

async_backend_error ๐Ÿ”’