Crate array_chunks

Source
Expand description

Adds array_chunks on stable. This used to be a nightly feature, now its a crate.

This is just a wrapper so you dont have to write x.as_chunks::<N>().0.into_iter().

Structs§

ArrayChunks
An iterator over a slice in (non-overlapping) chunks (N elements at a time), starting at the beginning of the slice.
ArrayChunksMut
An iterator over a slice in (non-overlapping) mutable chunks (N elements at a time), starting at the beginning of the slice.

Traits§

ExtensionTrait
Extension trait to call ArrayChunks::new and ArrayChunksMut::new on slices.