Struct broot::pattern::FuzzyPattern
source · pub struct FuzzyPattern { /* private fields */ }
Expand description
A pattern for fuzzy matching
Implementations§
source§impl FuzzyPattern
impl FuzzyPattern
sourcepub fn from(pat: &str) -> Self
pub fn from(pat: &str) -> Self
build a pattern which will later be usable for fuzzy search. A pattern should be reused
sourcepub fn is_empty(&self) -> bool
pub fn is_empty(&self) -> bool
an “empty” pattern is one which accepts everything because it has no discriminant
Trait Implementations§
source§impl Clone for FuzzyPattern
impl Clone for FuzzyPattern
source§fn clone(&self) -> FuzzyPattern
fn clone(&self) -> FuzzyPattern
Returns a copy 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 more