pub struct FuzzyMatcher { /* private fields */ }Expand description
Matches patterns using fuzzy/approximate matching.
Implementations§
Source§impl FuzzyMatcher
impl FuzzyMatcher
pub fn new(threshold: f64) -> Self
pub fn find_matches( &self, signature: &FunctionSignature, patterns: &[&Pattern], _context: &MatchContext, limit: usize, ) -> EvolveResult<Vec<MatchResult>>
Trait Implementations§
Source§impl Debug for FuzzyMatcher
impl Debug for FuzzyMatcher
Auto Trait Implementations§
impl Freeze for FuzzyMatcher
impl RefUnwindSafe for FuzzyMatcher
impl Send for FuzzyMatcher
impl Sync for FuzzyMatcher
impl Unpin for FuzzyMatcher
impl UnsafeUnpin for FuzzyMatcher
impl UnwindSafe for FuzzyMatcher
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more