Struct collections::slice::Chunks1.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.

This struct is created by the chunks method on slices.

Trait Implementations

impl<'a, T> Clone for Chunks<'a, T>
[src]

[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]

[src]

Formats the value using the given formatter.

impl<'a, T> Iterator for Chunks<'a, T>
[src]

[src]

[src]

[src]

[src]

[src]

impl<'a, T> DoubleEndedIterator for Chunks<'a, T>
[src]

[src]