pub trait HostFunctions: 'static + Send + Sync {
    fn host_functions() -> Vec<&'static dyn Function>;
    fn register_static<T>(registry: &mut T) -> Result<(), T::Error>
    where
        T: HostFunctionRegistry
; }
Expand description

Something that provides implementations for host functions.

Required Methods§

Returns the host functions Self provides.

Statically registers the host functions.

Implementations on Foreign Types§

Implementors§