pub trait Argument: Any {
// Required methods
fn parse(s: &str) -> Result<(&str, Self), ParseError>
where Self: Sized;
fn type_name() -> &'static str
where Self: Sized;
}Expand description
Defines a parser for argument types, as well as providing downcast for them.