Trait wca::CommandParser

source ·
pub trait CommandParser {
    // Required method
    fn command(&self, input: &str) -> Result<Command>;
}
Expand description

Can parse Commands

Required Methods§

source

fn command(&self, input: &str) -> Result<Command>

Parses first command from string

Command name must starts with letter or underscore

Implementors§