pub fn items<T, K>(
f: impl Fn() -> Vec<T> + 'static,
key_of: impl Fn(&T) -> K + 'static,
) -> Items<T, K>Expand description
Plain-data rows: an items closure plus a key function, as in
list(items(model::ordered, |i: &Item| i.id), row_view).