[][src]Trait fuzzy_matcher::FuzzyMatcher

pub trait FuzzyMatcher {
    fn fuzzy_indices(
        &self,
        choice: &str,
        pattern: &str
    ) -> Option<(i64, Vec<usize>)>; fn fuzzy_match(&self, choice: &str, pattern: &str) -> Option<i64> { ... } }

Required methods

fn fuzzy_indices(
    &self,
    choice: &str,
    pattern: &str
) -> Option<(i64, Vec<usize>)>

fuzzy match choice with pattern, and return the score & matched indices of characters

Loading content...

Provided methods

fn fuzzy_match(&self, choice: &str, pattern: &str) -> Option<i64>

fuzzy match choice with pattern, and return the score of matching

Loading content...

Implementors

impl FuzzyMatcher for ClangdMatcher[src]

impl FuzzyMatcher for SkimMatcher[src]

impl FuzzyMatcher for SkimMatcherV2[src]

Loading content...