Trait Interpreter

Source
pub trait Interpreter: Default {
    // Required method
    fn _run(ast: ASTNode, custom_commands: &HashMap<String, Box<dyn Command>>);
}

Required Methods§

Source

fn _run(ast: ASTNode, custom_commands: &HashMap<String, Box<dyn Command>>)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§