pub trait ElementsParsers: Parsers {
    // Required methods
    fn seq<'a, 'b, I>(tag: &'b [I]) -> Self::P<'a, I, &'a [I]>
       where I: PartialEq + Debug + 'a,
             'b: 'a;
    fn tag<'a, 'b>(tag: &'b str) -> Self::P<'a, char, &'a str>
       where 'b: 'a;
    fn tag_no_case<'a, 'b>(tag: &'b str) -> Self::P<'a, char, &'a str>
       where 'b: 'a;
    fn regex<'a>(pattern: &str) -> Self::P<'a, char, String>;
}

Required Methods§

source

fn seq<'a, 'b, I>(tag: &'b [I]) -> Self::P<'a, I, &'a [I]>where I: PartialEq + Debug + 'a, 'b: 'a,

source

fn tag<'a, 'b>(tag: &'b str) -> Self::P<'a, char, &'a str>where 'b: 'a,

source

fn tag_no_case<'a, 'b>(tag: &'b str) -> Self::P<'a, char, &'a str>where 'b: 'a,

source

fn regex<'a>(pattern: &str) -> Self::P<'a, char, String>

Implementors§