Trait nom::InputTake [] [src]

pub trait InputTake: Sized {
    fn take(&self, count: usize) -> Option<Self>;
fn take_split(&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<'a> InputTake for &'a [u8]
[src]

[src]

[src]

impl<'a> InputTake for &'a str
[src]

[src]

[src]

Implementors