Skip to main content

window_selection

Function window_selection 

Source
fn window_selection(
    context: &Context<'_>,
    function: RangeFunction,
    vs: &VectorSelector,
    range: &Duration,
) -> Result<NativeNode>
Expand description

Binds function over the range selector vs[range] into a window over the raw input.

Both shapes reach this: the range, the offset, the anchor, the grid and the output are the same whichever function reads them, so a parameterised function only decides what folds the window, never which window is folded.