pub struct FuzzyMatcher { /* private fields */ }Expand description
A fuzzy matcher that can be reused for multiple matches
Implementations§
Source§impl FuzzyMatcher
impl FuzzyMatcher
Sourcepub fn match_str(&self, target: &str) -> Option<FuzzyMatch>
pub fn match_str(&self, target: &str) -> Option<FuzzyMatch>
Match against a target string
Trait Implementations§
Source§impl Clone for FuzzyMatcher
impl Clone for FuzzyMatcher
Source§fn clone(&self) -> FuzzyMatcher
fn clone(&self) -> FuzzyMatcher
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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