pub trait HostFunctions:
'static
+ Send
+ Sync {
// Required method
fn host_functions() -> Vec<&'static dyn Function>;
}Expand description
Something that provides implementations for host functions.
Required Methods§
Sourcefn host_functions() -> Vec<&'static dyn Function>
fn host_functions() -> Vec<&'static dyn Function>
Returns the host functions Self provides.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".