Struct core::slice::SplitNExperimental [-]  [+] [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<&'a [T]> for SplitN<'a, T, P> where P: FnMut(&T) -> bool

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

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