Struct nom::MemProducer [] [src]

pub struct MemProducer<'x> {
    // some fields omitted
}

A MemProducer generates values from an in memory byte buffer

it generates data by chunks, and keeps track of how much was consumed. It can receive messages of type Move to handle consumption and seeking

Methods

impl<'x> MemProducer<'x>
[src]

Trait Implementations

impl<'x, 'b> Producer<'b, &'x [u8]Move> for MemProducer<'x>
[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