pub type HostFn = Rc<dyn Fn(Vec<Value>) -> Result<Value, String>>;Expand description
A function of the host program, taking the interpreter’s values. For a method, the first value is the receiver.
Aliased Type§
pub struct HostFn { /* private fields */ }