[][src]Trait notedown_pest::Parser

pub trait Parser<R> where
    R: RuleType
{ fn parse(rule: R, input: &str) -> Result<Pairs<'_, R>, Error<R>>; }

A trait with a single method that parses strings.

Required methods

fn parse(rule: R, input: &str) -> Result<Pairs<'_, R>, Error<R>>

Parses a &str starting from rule.

Loading content...

Implementors

impl Parser<Rule> for NoteDownParser[src]

Loading content...