Skip to main content

rank_pick

Function rank_pick 

Source
pub fn rank_pick(items: &[PickItem], query: &str) -> Vec<(usize, Vec<usize>)>
Expand description

The choices of a pick matching query, as (index, matched characters) best first; without a query, all of them in their order.