Trait Executable

Source
pub trait Executable {
    // Required method
    fn run(&self, context: &mut Context) -> JsResult<JsValue>;
}

Required Methods§

Source

fn run(&self, context: &mut Context) -> JsResult<JsValue>

Runs this executable in the given context.

Implementors§