pub trait Window<I> { // Required method fn window(&self, current: usize, size: NonZero<usize>) -> Option<Vec<I>>; }
Functionality to create a window.
Creates a window of a collection.
A Vec<I> representing the window.
Vec<I>