Trait nom::Producer [] [src]

pub trait Producer {
    fn produce(&mut self) -> ProducerState<&[u8]>;
    fn seek(&mut self, position: SeekFrom) -> Option<u64>;
}

A producer implements the produce method, currently working with u8 arrays

Required Methods

fn produce(&mut self) -> ProducerState<&[u8]>

fn seek(&mut self, position: SeekFrom) -> Option<u64>

Implementors