Struct parsimonious::CharacterParser [] [src]

pub struct CharacterParser<F>(_);

Trait Implementations

impl<F: Debug> Debug for CharacterParser<F>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<F> Copy for CharacterParser<F> where F: Copy
[src]

impl<F> Clone for CharacterParser<F> where F: Copy
[src]

fn clone(&self) -> Self

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<'a, F> ParserOf<&'a str> for CharacterParser<F> where F: Copy + Fn(char) -> bool
[src]

type Output = Option<char>

The type of the data being produced by the parser.

type State = CharacterStatefulParser<F>

The type of the parser state.

fn init(&self) -> Self::State

Create a stateful parser by initializing a stateless parser.

fn boxable(self) -> BoxableParser<Self::State> where Self: Sized

Make this parser boxable.

fn and_then<P>(self, other: P) -> AndThenParser<Self, P> where Self: Sized, P: ParserOf<S>