pub trait Parser: Display + FromStr {
    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> Parser for Scalar<E>where
    E: Environment,

source§

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