[−][src]Type Definition molt::types::ContextCommandFunc
type ContextCommandFunc = fn(_: &mut Interp, _: ContextID, _: &[Value]) -> MoltResult;
A simple command function, used to implement a command that retrieves
application context from the Interp
's context cache.
The command function receives the interpreter, the context ID, and an array representing the command and its arguments.