pub trait Parse: Sized + 'static { fn parser() -> Parser<Self>; fn parse(input: &str) -> Result<'_, Self> { ... } }
Types that can be parsed from strings.
Return a parser for this type.
Parse a string into this type.