pub(crate) fn window<T>(
selector: &Selector,
list: &[T],
start: usize,
end: usize,
parent: Option<String>,
options: &ReadOptions<'_>,
render: &dyn Fn(&T) -> Value,
) -> ReadResultwhere
T: HasId,Expand description
Fills a window [start, end) of list with whole units until the budget runs out.