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.
Object Safety§
This trait is not object safe.