Struct parsimonious::impls::MapStatefulParser [] [src]

pub struct MapStatefulParser<P, F>(_, _);

Trait Implementations

impl<P: Debug, F: Debug> Debug for MapStatefulParser<P, F>
[src]

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

Formats the value using the given formatter.

impl<P, F> Copy for MapStatefulParser<P, F> where P: Copy, F: Copy
[src]

impl<P, F> Clone for MapStatefulParser<P, F> where P: Clone, 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<P, F, S, T> StatefulParserOf<S> for MapStatefulParser<P, F> where P: StatefulParserOf<S, Output=T>, F: Fn<(T,)>
[src]

type Output = F::Output

The type of the data being produced by the parser.

fn parse(self, value: S) -> ParseResult<Self, S>

Provides data to the parser. Read more

fn done(self) -> Self::Output

Tells the parser that it will not receive any more data. Read more

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

Make this parser boxable.