pub trait ParseElem<'input>: Parse {
    type Element: Copy;

    fn parse_elem(&'input self, pos: usize) -> RuleResult<Self::Element>;
}
Expand description

A parser input type supporting the [...] syntax.

Required Associated Types

Type of a single atomic element of the input, for example a character or token

Required Methods

Get the element at pos, or Failed if past end of input.

Implementations on Foreign Types

Implementors