iterwindows
This crate provides an iterator adapter to iterate over all contiguous
windows of length N.
Getting started
Add the crate to your Cargo manifest.
And bring the IterArrayWindows trait into scope.
use IterArrayWindows;
Now you can use the array_windows method on any iterator.
for in iter.array_windows
Generally the size of N can be inferred by the compiler but you can also
specify it manually.
let w = iter.;
License
This project is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.