Trait nom::InputTake [] [src]

pub trait InputTake {
    fn take<P>(&self, count: usize) -> Option<&Self>;
fn take_split<P>(&self, count: usize) -> Option<(&Self, &Self)>; }

abstracts slicing operations

Required Methods

returns a slice of count bytes

split the stream at the count byte offset

Implementations on Foreign Types

impl InputTake for [u8]
[src]

[src]

[src]

impl InputTake for str
[src]

[src]

[src]

Implementors