Skip to main content

ScriptParser

Trait ScriptParser 

Source
pub trait ScriptParser<CommandGeneric: Command> {
    // Required method
    fn parse(&self, task: &str) -> Result<Rc<Script<CommandGeneric>>, ()>;
}

Required Methods§

Source

fn parse(&self, task: &str) -> Result<Rc<Script<CommandGeneric>>, ()>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§