Skip to main content

items_of

Function items_of 

Source
fn items_of(
    model: &Model,
    cat: CategoryId,
    filters: &[Filter],
) -> Vec<(ItemId, String)>
Expand description

Item names for a category, in the category’s declared item order, keeping only items that pass filters (a category absent from filters is unfiltered). Presentation-only: it hides items, it never touches data.