pub fn score(query: &str, candidate: &str) -> Option<i32>Expand description
Scores candidate against query, case-insensitively. Returns None if
query is not a (possibly non-contiguous, in-order) subsequence of
candidate — i.e. no match at all. Higher scores rank better; an empty
query matches everything with score 0 (unfiltered default state).