[−][src]Trait cron_clock::InputTake
abstracts slicing operations
Required methods
fn take(&self, count: usize) -> Self
returns a slice of count
bytes. panics if count > length
fn take_split(&self, count: usize) -> (Self, Self)
split the stream at the count
byte offset. panics if count > length
Implementations on Foreign Types
impl<'a> InputTake for &'a [u8]
[src]
fn take(&self, count: usize) -> &'a [u8]
[src]
fn take_split(&self, count: usize) -> (&'a [u8], &'a [u8])
[src]
impl<'a> InputTake for &'a str
[src]
fn take(&self, count: usize) -> &'a str
[src]
fn take_split(&self, count: usize) -> (&'a str, &'a str)
[src]
Implementors
impl<'a> InputTake for CompleteByteSlice<'a>
[src]
fn take(&self, count: usize) -> CompleteByteSlice<'a>
[src]
fn take_split(
&self,
count: usize
) -> (CompleteByteSlice<'a>, CompleteByteSlice<'a>)
[src]
&self,
count: usize
) -> (CompleteByteSlice<'a>, CompleteByteSlice<'a>)
impl<'a> InputTake for CompleteStr<'a>
[src]
fn take(&self, count: usize) -> CompleteStr<'a>
[src]
fn take_split(&self, count: usize) -> (CompleteStr<'a>, CompleteStr<'a>)
[src]
impl<T> InputTake for Input<T> where
T: InputTake,
[src]
T: InputTake,