Trait fuzzy_matcher::simple::Matching

source ·
pub trait Matching {
    // Required methods
    fn forward(&self, pattern_indices: &mut Vec<usize>);
    fn reverse(&self, pattern_indices: &mut Vec<usize>);
    fn char_equal(&self, a: &char, b: &char) -> bool;
    fn byte_equal(&self, a: &u8, b: &u8) -> bool;
}

Required Methods§

source

fn forward(&self, pattern_indices: &mut Vec<usize>)

source

fn reverse(&self, pattern_indices: &mut Vec<usize>)

source

fn char_equal(&self, a: &char, b: &char) -> bool

source

fn byte_equal(&self, a: &u8, b: &u8) -> bool

Implementors§