Skip to main content

build_view

Function build_view 

Source
pub fn build_view(
    entries: &[CatalogEntry],
    query: &Query,
    sel: &FacetSelection,
    show_hidden: bool,
    sort: Sort,
    clock: &Clock,
) -> View
Expand description

Filter, facet and sort. O(n) over the catalog plus the sort; cheap enough to rerun on every keystroke for thousands of entries.