Skip to main content

WindowedExt

Trait WindowedExt 

Source
pub trait WindowedExt<'a, T: 'a> {
    type IterBy: Iterator<Item = &'a [T]> + DoubleEndedIterator + ExactSizeIterator;

    // Required method
    fn sliding_windows_by(&'a self, size: usize, step: usize) -> Self::IterBy;
}

Required Associated Types§

Required Methods§

Source

fn sliding_windows_by(&'a self, size: usize, step: usize) -> Self::IterBy

Implementations on Foreign Types§

Source§

impl<'a, T: 'a> WindowedExt<'a, T> for [T]

Source§

type IterBy = SlidingBy<'a, T>

Source§

fn sliding_windows_by(&'a self, size: usize, step: usize) -> Self::IterBy

Implementors§