pub trait Parser: Display + FromStr {
    // Required method
    fn parse(string: &str) -> Result<(&str, Self), Err<VerboseError<&str>>>
       where Self: Sized;
}
Expand description

Operations to parse a string literal into an object.

Required Methods§

source

fn parse(string: &str) -> Result<(&str, Self), Err<VerboseError<&str>>>where Self: Sized,

Parses a string literal into an object.

Implementors§

source§

impl<E> Parser for Boolean<E>where E: Environment,

source§

impl<E> Parser for Field<E>where E: Environment,

source§

impl<E: Environment, I: IntegerType> Parser for Integer<E, I>