Struct ArrayWindows
pub struct ArrayWindows<I, const N: usize>
where
I: Iterator + Sized,
I::Item: Clone, { /* private fields */ }
An iterator over all contiguous windows of the input iterator, producing arrays of a specific size.
See .array_windows() for more
information.
Trait Implementations
impl<I, const N: usize> Clone for ArrayWindows<I, N>
where
I: Iterator + Sized + Clone,
I::Item: Clone + Clone,
fn clone(&self) -> Self
impl<I, const N: usize> Debug for ArrayWindows<I, N>
where
I: Iterator + Sized + Debug,
I::Item: Clone + Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<I, const N: usize> Iterator for ArrayWindows<I, N>
where
I: Iterator + Sized,
I::Item: Clone,
type Item = [<I as Iterator>::Item; N];fn next(&mut self) -> Option<[I::Item; N]>