wasmer
6.1.0
Module host
Module Items
Modules
Structs
Traits
In wasmer::
entities::
function
wasmer
::
entities
::
function
Module
host
Copy item path
Source
Modules
§
imp
🔒
private
🔒
Sealing the HostFunctionKind because it shouldn’t be implemented by any type outside. See:
https://rust-lang.github.io/api-guidelines/future-proofing.html#c-sealed
Structs
§
WithEnv
An empty struct to help Rust typing to determine when a
HostFunction
does have an environment.
Without
Env
An empty struct to help Rust typing to determine when a
HostFunction
does not have an environment.
Traits
§
Host
Function
The
HostFunction
trait represents the set of functions that can be used as host function. To uphold this statement, it is necessary for a function to be transformed into a
VMFunctionCallback
.