Struct collections::slice::Chunks 1.0.0
[−]
[src]
pub struct Chunks<'a, T> where
T: 'a, { /* fields omitted */ }
An iterator over a slice in (non-overlapping) 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> Clone for Chunks<'a, T>
[src]
impl<'a, T> FusedIterator for Chunks<'a, T>
[src]
impl<'a, T> ExactSizeIterator for Chunks<'a, T>
[src]
impl<'a, T> Debug for Chunks<'a, T> where
T: 'a + Debug,
[src]
T: 'a + Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.