pub struct MutChunks<'a, T> {
// some fields omitted
}An iterator over a vector in (non-overlapping) mutable chunks (size elements at a time). When
the vector len is not evenly divided by the chunk size, the last slice of the iteration will be
the remainder.
Trait Implementations
fn next<'a, T>(&mut self) -> Option<&'a mut [T]>
fn map<B>(self, |&'a mut [T]|: 'r -> B) -> Map<'r, &'a mut [T], B, MutChunks<'a, T>>
fn filter<'a, T>(self, |&&'a mut [T]|: 'r -> bool) -> Filter<'r, &'a mut [T], MutChunks<'a, T>>
fn scan<St, B>(self, St, |&mut St, &'a mut [T]|: 'r -> Option<B>) -> Scan<'r, &'a mut [T], B, MutChunks<'a, T>, St>
fn inspect<'a, T>(self, |&&'a mut [T]|: 'r) -> Inspect<'r, &'a mut [T], MutChunks<'a, T>>
fn by_ref<'a, T>(&'r mut self) -> ByRef<'r, MutChunks<'a, T>>
fn advance<'a, T>(&mut self, |&'a mut [T]| -> bool) -> bool
fn nth<'a, T>(&mut self, uint) -> Option<&'a mut [T]>
fn last<'a, T>(&mut self) -> Option<&'a mut [T]>
fn fold<B>(&mut self, B, |B, &'a mut [T]| -> B) -> B
fn count<'a, T>(&mut self) -> uint
fn all<'a, T>(&mut self, |&'a mut [T]| -> bool) -> bool
fn any<'a, T>(&mut self, |&'a mut [T]| -> bool) -> bool
fn find<'a, T>(&mut self, |&&'a mut [T]| -> bool) -> Option<&'a mut [T]>
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]>
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).