pub trait Argument {
// Required method
fn parse<'a>(parser: &mut CommandParser<'a>) -> Result<Self, ParseError<'a>>
where Self: Sized;
}
Expand description
A trait for parsing arguments from a command. This trait is implemented for most basic types, though it is possible to implement it for custom types as well.