pub type ObjectValueFn<O> = Rc<dyn Fn(&mut Interpreter<O>) -> Result<Value<O>, RuntimeError>>;Expand description
The lazy scalar an object carries, so a single name can be both a namespace
and a value: dayofweek.monday reads a member while bare dayofweek invokes
this to get the current day. Computed from live interpreter state on each use
(never called with ()), so there is no per-bar value to keep refreshed.
Aliased Typeยง
pub struct ObjectValueFn<O> { /* private fields */ }