Struct parsimonious::OrEmitParser [] [src]

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

Trait Implementations

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

impl<P, F> Clone for OrEmitParser<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> Parser for OrEmitParser<P, F> where P: GuardedParser
[src]

impl<P, F, S> ParserOf<S> for OrEmitParser<P, F> where P: Clone + GuardedParserOf<S>, F: Copy + Fn<(), Output=P::Output>
[src]

type Output = P::Output

type State = OrEmitStatefulParser<P, F, P::State>

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

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