Trait nom::Slice

source · []
pub trait Slice<R> {
    fn slice(&self, range: R) -> Self;
}
Expand description

slicing operations using ranges

this trait is loosely based on Index, but can actually return something else than a &[T] or &str

Required methods

slices self according to the range argument

Implementations on Foreign Types

Implementors