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

pub struct MutChunks<'a, T: 'a> {
    // some fields omitted
}

An iterator over a slice in (non-overlapping) mutable chunks (size elements at a time). When the slice len is not evenly divided by the chunk size, the last slice of the iteration will be the remainder.

Trait Implementations

impl<'a, T> Iterator<&'a mut [T]> for MutChunks<'a, T>

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

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

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

fn chain<U: Iterator<&'a mut [T]>>(self, U) -> Chain<MutChunks<'a, T>, U>

fn zip<B, U: Iterator<B>>(self, U) -> Zip<MutChunks<'a, T>, U>

fn map<B>(self, |&'a mut [T]| -> B) -> Map<'r, &'a mut [T], B, MutChunks<'a, T>>

fn filter(self, |&&'a mut [T]| -> bool) -> Filter<'r, &'a mut [T], MutChunks<'a, T>>

fn filter_map<B>(self, |&'a mut [T]| -> Option<B>) -> FilterMap<'r, &'a mut [T], B, MutChunks<'a, T>>

fn enumerate(self) -> Enumerate<MutChunks<'a, T>>

fn peekable(self) -> Peekable<&'a mut [T], MutChunks<'a, T>>

fn skip_while(self, |&&'a mut [T]| -> bool) -> SkipWhile<'r, &'a mut [T], MutChunks<'a, T>>

fn take_while(self, |&&'a mut [T]| -> bool) -> TakeWhile<'r, &'a mut [T], MutChunks<'a, T>>

fn skip(self, uint) -> Skip<MutChunks<'a, T>>

fn take(self, uint) -> Take<MutChunks<'a, T>>

fn scan<St, B>(self, St, |&mut St, &'a mut [T]| -> Option<B>) -> Scan<'r, &'a mut [T], B, MutChunks<'a, T>, St>

fn flat_map<B, U: Iterator<B>>(self, |&'a mut [T]| -> U) -> FlatMap<'r, &'a mut [T], MutChunks<'a, T>, U>

fn fuse(self) -> Fuse<MutChunks<'a, T>>

fn inspect(self, |&&'a mut [T]|) -> Inspect<'r, &'a mut [T], MutChunks<'a, T>>

fn by_ref(&'r mut self) -> ByRef<'r, MutChunks<'a, T>>

fn collect<B: FromIterator<&'a mut [T]>>(&mut self) -> B

fn nth(&mut self, uint) -> Option<&'a mut [T]>

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

fn fold<B>(&mut self, B, |B, &'a mut [T]| -> B) -> B

fn count(&mut self) -> uint

fn all(&mut self, |&'a mut [T]| -> bool) -> bool

fn any(&mut self, |&'a mut [T]| -> bool) -> bool

fn find(&mut self, |&&'a mut [T]| -> bool) -> Option<&'a mut [T]>

fn position(&mut self, |&'a mut [T]| -> bool) -> Option<uint>

fn max_by<B: Ord>(&mut self, |&&'a mut [T]| -> B) -> Option<&'a mut [T]>

fn min_by<B: Ord>(&mut self, |&&'a mut [T]| -> B) -> Option<&'a mut [T]>

impl<'a, T> DoubleEndedIterator<&'a mut [T]> for MutChunks<'a, T>

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

fn rev(self) -> Rev<MutChunks<'a, T>>