[−][src]Trait fuzzy_matcher::FuzzyMatcher
Required methods
fn fuzzy_indices(
&self,
choice: &str,
pattern: &str
) -> Option<(i64, Vec<usize>)>
&self,
choice: &str,
pattern: &str
) -> Option<(i64, Vec<usize>)>
fuzzy match choice with pattern, and return the score & matched indices of characters
Provided methods
fn fuzzy_match(&self, choice: &str, pattern: &str) -> Option<i64>
fuzzy match choice with pattern, and return the score of matching
Implementors
impl FuzzyMatcher for ClangdMatcher
[src]
fn fuzzy_indices(
&self,
choice: &str,
pattern: &str
) -> Option<(i64, Vec<usize>)>
[src]
&self,
choice: &str,
pattern: &str
) -> Option<(i64, Vec<usize>)>
fn fuzzy_match(&self, choice: &str, pattern: &str) -> Option<i64>
[src]
impl FuzzyMatcher for SkimMatcher
[src]
The V1 matcher is based on ForrestTheWoods's post https://www.forrestthewoods.com/blog/reverse_engineering_sublime_texts_fuzzy_match/
V1 algorithm is deprecated, checkout FuzzyMatcherV2
fn fuzzy_indices(
&self,
choice: &str,
pattern: &str
) -> Option<(i64, Vec<usize>)>
[src]
&self,
choice: &str,
pattern: &str
) -> Option<(i64, Vec<usize>)>