Struct parsimonious::impls::MapStatefulParser
[−]
[src]
pub struct MapStatefulParser<P, F>(_, _);
Trait Implementations
impl<P: Debug, F: Debug> Debug for MapStatefulParser<P, F>
[src]
impl<P, F> Copy for MapStatefulParser<P, F> where
P: Copy,
F: Copy,
[src]
P: Copy,
F: Copy,
impl<P, F> Clone for MapStatefulParser<P, F> where
P: Clone,
F: Copy,
[src]
P: Clone,
F: Copy,
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> Stateful<S> for MapStatefulParser<P, F> where
P: Stateful<S, Output = T>,
F: Function<T>,
[src]
P: Stateful<S, Output = T>,
F: Function<T>,
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,
Self: Sized,
Make this parser boxable.