Struct nom::ProducerRepeat [] [src]

pub struct ProducerRepeat<I: Copy> {
    // some fields omitted
}

ProducerRepeat takes a single value, and generates it at each step

Trait Implementations

impl<'b, I: Copy, M: 'b> Producer<'b, I, M> for ProducerRepeat<I>

fn apply<'a, O, E>(&'b mut self, consumer: &'a mut Consumer<I, O, E, M>) -> &'a ConsumerState<O, E, M>

fn run<'a, O, E: 'b>(&'b mut self, consumer: &'a mut Consumer<I, O, E, M>) -> Option<&O>