pub fn rank_with( entries: &[PaletteEntry], query: &str, recent: &[CommandId], applies: impl Fn(&CommandId) -> bool, label: impl Fn(&PaletteEntry) -> String, ) -> Vec<Ranked>
As rank, each entry shown and matched as label gives it (the palette passes the label in the interface’s language: shown).
rank
label
shown