pub trait Parser: Display + FromStr {
    fn parse(string: &str) -> ParserResult<'_, Self>
    where
        Self: Sized
; }
Expand description

Operations to parse a string literal into an object.

Required Methods

Parses a string literal into an object.

Implementors