Skip to main content

Windowed

Trait Windowed 

Source
pub trait Windowed:
    Send
    + Sync
    + Any {
    // Required method
    fn window(&self, start: usize, len: usize) -> PolarsResult<LazyFrame>;
}
Expand description

A source that reads rows [start, start + len) of a view without the ones before.

Any, so a reader whose source the app asks more of than rows can find its own again: an audio file’s, whose signal a quality run checks.

Required Methods§

Source

fn window(&self, start: usize, len: usize) -> PolarsResult<LazyFrame>

The rows as a frame, read when it is collected.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§