Struct combpop::iter::Many1
[−]
[src]
pub struct Many1<P: ParserBase>(_);
Trait Implementations
impl<P> ParserIteratorBase for Many1<P> where
P: ParserBase,
[src]
P: ParserBase,
type Input = P::Input
type Element = P::Output
fn emptiable() -> bool
[src]
fn collect<V: FromIterator<Self::Element>>(self) -> Collect<Self, V> where
Self: Sized,
[src]
Self: Sized,
impl<S: ?Sized, P> ParserIteratorMut<S> for Many1<P> where
S: Stream<Item = P::Input>,
P: ParserMut<S>,
[src]
S: Stream<Item = P::Input>,
P: ParserMut<S>,
type State = usize
fn begin(&self) -> usize
[src]
fn next_mut(
&mut self,
stream: &mut S,
state: &mut Self::State
) -> ParseResult<Option<(Option<Self::Element>, Consume)>>
[src]
&mut self,
stream: &mut S,
state: &mut Self::State
) -> ParseResult<Option<(Option<Self::Element>, Consume)>>
fn emit_expectations(&self, stream: &mut S)
[src]
impl<S: ?Sized, P> ParserIterator<S> for Many1<P> where
S: Stream<Item = P::Input>,
P: Parser<S>,
[src]
S: Stream<Item = P::Input>,
P: Parser<S>,