Struct broot::pattern::FuzzyPattern [−][src]
pub struct FuzzyPattern { /* fields omitted */ }
Expand description
A pattern for fuzzy matching
Implementations
build a pattern which will later be usable for fuzzy search. A pattern should be reused
an “empty” pattern is one which accepts everything because it has no discriminant
return a match if the pattern can be found in the candidate string. The algorithm tries to return the best one. For example if you search “abc” in “ababca-abc”, the returned match would be at the end.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FuzzyPattern
impl Send for FuzzyPattern
impl Sync for FuzzyPattern
impl Unpin for FuzzyPattern
impl UnwindSafe for FuzzyPattern
Blanket Implementations
Mutably borrows from an owned value. Read more