[−][src]Trait nom::Slice
slicing operations using ranges
this trait is loosely based on
Index
, but can actually return
something else than a &[T]
or &str
Required Methods
fn slice(&self, range: R) -> Self
Implementations on Foreign Types
impl<'a> Slice<Range<usize>> for &'a str
[src]
impl<'a> Slice<Range<usize>> for &'a str
impl<'a> Slice<RangeTo<usize>> for &'a str
[src]
impl<'a> Slice<RangeTo<usize>> for &'a str
impl<'a> Slice<RangeFrom<usize>> for &'a str
[src]
impl<'a> Slice<RangeFrom<usize>> for &'a str
impl<'a> Slice<RangeFull> for &'a str
[src]
impl<'a> Slice<RangeFull> for &'a str
impl<'a, T> Slice<Range<usize>> for &'a [T]
[src]
impl<'a, T> Slice<Range<usize>> for &'a [T]
impl<'a, T> Slice<RangeTo<usize>> for &'a [T]
[src]
impl<'a, T> Slice<RangeTo<usize>> for &'a [T]
impl<'a, T> Slice<RangeFrom<usize>> for &'a [T]
[src]
impl<'a, T> Slice<RangeFrom<usize>> for &'a [T]
impl<'a, T> Slice<RangeFull> for &'a [T]
[src]
impl<'a, T> Slice<RangeFull> for &'a [T]
Implementors
impl<'a> Slice<Range<usize>> for CompleteByteSlice<'a>
[src]
impl<'a> Slice<Range<usize>> for CompleteByteSlice<'a>
impl<'a> Slice<Range<usize>> for CompleteStr<'a>
[src]
impl<'a> Slice<Range<usize>> for CompleteStr<'a>
impl<'a> Slice<RangeFrom<usize>> for CompleteByteSlice<'a>
[src]
impl<'a> Slice<RangeFrom<usize>> for CompleteByteSlice<'a>
impl<'a> Slice<RangeFrom<usize>> for CompleteStr<'a>
[src]
impl<'a> Slice<RangeFrom<usize>> for CompleteStr<'a>
impl<'a> Slice<RangeFull> for CompleteByteSlice<'a>
[src]
impl<'a> Slice<RangeFull> for CompleteByteSlice<'a>
impl<'a> Slice<RangeFull> for CompleteStr<'a>
[src]
impl<'a> Slice<RangeFull> for CompleteStr<'a>
impl<'a> Slice<RangeTo<usize>> for CompleteByteSlice<'a>
[src]
impl<'a> Slice<RangeTo<usize>> for CompleteByteSlice<'a>
impl<'a> Slice<RangeTo<usize>> for CompleteStr<'a>
[src]
impl<'a> Slice<RangeTo<usize>> for CompleteStr<'a>
impl<T: Slice<Range<usize>>> Slice<Range<usize>> for Input<T>
[src]
impl<T: Slice<Range<usize>>> Slice<Range<usize>> for Input<T>
impl<T: Slice<RangeFrom<usize>>> Slice<RangeFrom<usize>> for Input<T>
[src]
impl<T: Slice<RangeFrom<usize>>> Slice<RangeFrom<usize>> for Input<T>
impl<T: Slice<RangeFull>> Slice<RangeFull> for Input<T>
[src]
impl<T: Slice<RangeFull>> Slice<RangeFull> for Input<T>
impl<T: Slice<RangeTo<usize>>> Slice<RangeTo<usize>> for Input<T>
[src]
impl<T: Slice<RangeTo<usize>>> Slice<RangeTo<usize>> for Input<T>