Skip to main content

Windows

Trait Windows 

Source
pub trait Windows<I> {
    // Required method
    fn windows(&self, size: usize) -> WindowsIterator<'_, I> ;
}
Available on crate features dataset and std only.
Expand description

Functionality to create a WindowsIterator.

Required Methods§

Source

fn windows(&self, size: usize) -> WindowsIterator<'_, I>

Creates and returns an iterator over all the windows of length size.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<I, T> Windows<I> for T
where T: Dataset<I>,