Struct parsell::impls::StarState [] [src]

pub struct StarState<P, PState, T>(_, _, _);

Trait Implementations

impl<P: Debug, PState: Debug, T: Debug> Debug for StarState<P, PState, T>
[src]

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

Formats the value using the given formatter.

impl<P: Clone, PState: Clone, T: Clone> Clone for StarState<P, PState, T>
[src]

fn clone(&self) -> StarState<P, PState, T>

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, PState, T, Ch, Str> Stateful<Ch, Str, T> for StarState<P, PState, T> where P: Copy + UncommittedInfer<Ch, Str, State=PState>, PState: Stateful<Ch, Str, P::Output>, T: Consumer<P::Output>, Str: PeekableIterator
[src]

fn more(self, string: &mut Str) -> ParseResult<Self, T>

Provides data to the parser. Read more

fn done(self) -> T

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

fn last(self, string: &mut Str) -> Output where Self: Sized

Provides the last data to the parser. Read more

impl<P, PState, T, Ch, Str> HasOutput<Ch, Str> for StarState<P, PState, T>
[src]

type Output = T

The type of the data being produced by the parser.