Trait Parser
pest
pub trait Parser<R: RuleType> { fn parse(rule: R, input: &str) -> Result<Pairs<R>, Error<R>>; }
A trait with a single method that parses strings.
fn parse(rule: R, input: &str) -> Result<Pairs<R>, Error<R>>
Parses a &str starting from rule.
&str
rule