pub fn windows_mut<T>(slice: &mut [T], size: usize) -> WindowsMut<'_, T>
Expand description

Creates an iterator over all contiguous windows of length size in a mutable slice.

The windows overlap and may be mutated via StreamingIteratorMut. If the slice is shorter than size, the iterator returns no values.

Panics

Panics if size is 0.