Trait CommandType

Source
pub trait CommandType {
    // Required methods
    fn command(&self) -> &'static str;
    fn arguments(&self) -> Vec<String>;
}

Required Methods§

Source

fn command(&self) -> &'static str

Source

fn arguments(&self) -> Vec<String>

Trait Implementations§

Source§

impl Display for dyn CommandType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Implementors§