pub trait Invoke {
    // Required method
    fn invoke(&self, universe: &mut Universe, args: Vec<Value>) -> Return;
}
Expand description

The trait for invoking methods and primitives.

Required Methods§

source

fn invoke(&self, universe: &mut Universe, args: Vec<Value>) -> Return

Invoke within the given universe and with the given arguments.

Implementations on Foreign Types§

source§

impl Invoke for MethodDef

source§

fn invoke(&self, universe: &mut Universe, args: Vec<Value>) -> Return

Implementors§