pub trait Callable<InputParameters, ReturnValue> {
// Required method
fn call(&self, parameters: InputParameters) -> RunResult<ReturnValue>;
}Expand description
A trait for objects which may be called.
For example, these could be machine code programs associated with a particular calling convention ready for execution in an emulated environment, or they may be function pointers, or lisp expressions, etc.)