pub enum MatchFilter {
All,
Exact,
Prefix,
WordStart,
Substring,
Fuzzy,
}Expand description
Optional match-type filter for palette results.
Variants§
All
Show all matches.
Exact
Exact match only.
Prefix
Prefix match only.
WordStart
Word-start match only.
Substring
Substring match only.
Fuzzy
Fuzzy match only.
Trait Implementations§
Source§impl Clone for MatchFilter
impl Clone for MatchFilter
Source§fn clone(&self) -> MatchFilter
fn clone(&self) -> MatchFilter
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 moreSource§impl Debug for MatchFilter
impl Debug for MatchFilter
Source§impl PartialEq for MatchFilter
impl PartialEq for MatchFilter
impl Copy for MatchFilter
impl Eq for MatchFilter
impl StructuralPartialEq for MatchFilter
Auto Trait Implementations§
impl Freeze for MatchFilter
impl RefUnwindSafe for MatchFilter
impl Send for MatchFilter
impl Sync for MatchFilter
impl Unpin for MatchFilter
impl UnsafeUnpin for MatchFilter
impl UnwindSafe for MatchFilter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.