Struct collections::slice::RSplit
[−]
[src]
pub struct RSplit<'a, T, P> where
P: FnMut(&T) -> bool,
T: 'a, { /* fields omitted */ }
An iterator over subslices separated by elements that match a predicate function, starting from the end of the slice.
Trait Implementations
impl<'a, T, P> Clone for RSplit<'a, T, P> where
P: Clone + FnMut(&T) -> bool,
T: 'a + Clone,
[src]
P: Clone + FnMut(&T) -> bool,
T: 'a + Clone,
impl<'a, T, P> FusedIterator for RSplit<'a, T, P> where
P: FnMut(&T) -> bool,
[src]
P: FnMut(&T) -> bool,
impl<'a, T, P> Debug for RSplit<'a, T, P> where
P: FnMut(&T) -> bool,
T: 'a + Debug,
[src]
P: FnMut(&T) -> bool,
T: 'a + Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl<'a, T, P> Iterator for RSplit<'a, T, P> where
P: FnMut(&T) -> bool,
[src]
P: FnMut(&T) -> bool,
type Item = &'a [T]
fn next(&mut self) -> Option<&'a [T]>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
impl<'a, T, P> DoubleEndedIterator for RSplit<'a, T, P> where
P: FnMut(&T) -> bool,
[src]
P: FnMut(&T) -> bool,