pub type HostFunction = Arc<dyn Fn(&mut Vm, Vec<Value>) -> Result<Vec<Value>, ScriptError> + Send + Sync>;
A Rust function callable from scripts.
pub struct HostFunction { /* private fields */ }