Skip to main content

ordered_cards

Function ordered_cards 

Source
pub fn ordered_cards(store: &RecipeStore) -> Vec<&RecipeCard>
Expand description

All cards in deterministic global order: by book order then id, chapter order then name, recipe order then id. Two recipes never compare equal because ids are unique, so the order is total and stable.