Struct collections::slice::SplitNExperimental [-]  [+] [src]

pub struct SplitN<'a, T: 'a, P> {
    // 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>

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

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

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