Skip to main content

list

Function list 

Source
pub fn list<S, P>(
    source: S,
    build_row: impl Fn(S::Slot) -> P + 'static,
) -> List<S>
where S: RowSource + 'static, P: Piece,
Expand description

Build a recycling list from a RowSource and a row builder: list(items(rows_fn, key_of), row_view) for plain data, list(store, row_view) (or list(store.rows(projection), …)) for a day-model store.

Day API ↩ Guides· daybrite.dev