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§

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

Parses a string literal into an object.

Object Safety§

This trait is not object safe.

Implementors§

§

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

§

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

§

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

§

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

§

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