Crate itermore[−][src]
Expand description
More iterator adaptors,
To extend Iterator
with methods in this crate, import the Itermore
trait
use itermore::Itermore;
Now the new methods array_chunks
and
array_windows
are available.
for [x, y, z] in (1..100).array_chunks() {
// ...
}
for [a, b] in (1..33).array_windows() {
// ...
}
Structs
An iterator that yields N
elements of T
at a time.
An iterator that yields overlapping chunks of N
elements of T
at a time.