pub enum MatcherAlgo {
Greedy,
FzfV1,
FzfV2,
Nucleo,
}Expand description
Matcher implementation selected for fuzzy scoring.
Variants§
Greedy
Yuru’s default greedy matcher.
FzfV1
Greedy fzf-style matcher alias.
FzfV2
Nucleo-backed quality matcher alias.
Nucleo
Nucleo-backed quality matcher.
Trait Implementations§
Source§impl Clone for MatcherAlgo
impl Clone for MatcherAlgo
Source§fn clone(&self) -> MatcherAlgo
fn clone(&self) -> MatcherAlgo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MatcherAlgo
Source§impl Debug for MatcherAlgo
impl Debug for MatcherAlgo
impl Eq for MatcherAlgo
Source§impl PartialEq for MatcherAlgo
impl PartialEq for MatcherAlgo
impl StructuralPartialEq for MatcherAlgo
Auto Trait Implementations§
impl Freeze for MatcherAlgo
impl RefUnwindSafe for MatcherAlgo
impl Send for MatcherAlgo
impl Sync for MatcherAlgo
impl Unpin for MatcherAlgo
impl UnsafeUnpin for MatcherAlgo
impl UnwindSafe for MatcherAlgo
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more