Struct core::slice::SplitNStable [-]  [+] [src]

pub struct SplitN<'a, T: 'a, P> where P: FnMut(&T) -> bool {
    // some fields omitted
}

An iterator over subslices separated by elements that match a predicate function, limited to a given number of splits.

Trait Implementations

impl<'a, T, P> Iterator for SplitN<'a, T, P> where P: FnMut(&T) -> bool

type Item = &'a [T]

fn next(&mut self) -> Option<&'a [T]>

fn size_hint(&self) -> (usize, Option<usize>)