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ยง
- Typed
Function - A WebAssembly function that can be called natively (using the Native ABI).
Functionsยง
- async_
backend_ ๐error