Struct broot::pattern::FuzzyPattern
source · [−]pub struct FuzzyPattern { /* private fields */ }
Expand description
A pattern for fuzzy matching
Implementations
sourceimpl 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
sourceimpl Clone for FuzzyPattern
impl Clone for FuzzyPattern
sourcefn clone(&self) -> FuzzyPattern
fn clone(&self) -> FuzzyPattern
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FuzzyPattern
impl Debug for FuzzyPattern
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more