Struct nom::ProducerRepeat [] [src]

pub struct ProducerRepeat<I: Copy> { /* 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>
[src]

Applies a consumer once on the produced data, and return the consumer's state Read more

Applies a consumer once on the produced data, and returns the generated value if there is one