pub enum FzfScheme {
Default,
Path,
History,
}Available on crate features
fzf-v1 or fzf-v2 only.Expand description
Variants§
Default
A generic distance scheme that works well for any type of input.
Path
A distance scheme tailored for searching file paths. It assigns
additional bonus points to the character immediately following a path
separator (i.e. / on Unix-like systems and \ on Windows).
History
A distance scheme tailored for searching shell command history which doesn’t assign any additional bonus points.
Trait Implementations§
Source§impl Ord for FzfScheme
impl Ord for FzfScheme
Source§impl PartialOrd for FzfScheme
impl PartialOrd for FzfScheme
impl Copy for FzfScheme
impl Eq for FzfScheme
impl StructuralPartialEq for FzfScheme
Auto Trait Implementations§
impl Freeze for FzfScheme
impl RefUnwindSafe for FzfScheme
impl Send for FzfScheme
impl Sync for FzfScheme
impl Unpin for FzfScheme
impl UnwindSafe for FzfScheme
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