Module host

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.
WithoutEnv
An empty struct to help Rust typing to determine when a HostFunction does not have an environment.

Traits§

HostFunction
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.