pub struct LsKey {Show 16 fields
pub list: List,
pub all: bool,
pub input: Input,
pub fuzzy_list: Option<List>,
pub pre_fuzz_list: Option<List>,
pub display: Option<(PathBuf, String)>,
pub halt: bool,
pub is_fuzzed: bool,
pub test: bool,
pub input_vec: Vec<String>,
pub output_vec: Vec<String>,
pub fzf_hook_path: Option<PathBuf>,
pub fzc_hook_path: Option<PathBuf>,
pub fzd_hook_path: Option<PathBuf>,
pub default_editor: String,
pub default_opener: String,
}Fields§
§list: List§all: bool§input: Input§fuzzy_list: Option<List>§pre_fuzz_list: Option<List>§display: Option<(PathBuf, String)>§halt: bool§is_fuzzed: bool§test: bool§input_vec: Vec<String>§output_vec: Vec<String>§fzf_hook_path: Option<PathBuf>§fzc_hook_path: Option<PathBuf>§fzd_hook_path: Option<PathBuf>§default_editor: String§default_opener: StringImplementations§
Source§impl LsKey
impl LsKey
pub fn new<P: AsRef<Path>>( path: P, all: bool, test: bool, fzf_hook_path: Option<PathBuf>, fzc_hook_path: Option<PathBuf>, fzd_hook_path: Option<PathBuf>, ) -> Self
pub fn fuzzy_update(&mut self, input: String) -> Self
pub fn scores_to_list(&mut self, scores: Scores) -> List
pub fn update(&mut self, list: List)
pub fn update_file_display(&mut self, filter: bool)
pub fn filter_mode(&mut self, list: List)
pub fn key_mode(&mut self, list: List, input: Input, is_fuzzed: bool)
pub fn mode_parse(&mut self, input: String) -> Option<Mode>
Trait Implementations§
impl StructuralPartialEq for LsKey
Auto Trait Implementations§
impl Freeze for LsKey
impl RefUnwindSafe for LsKey
impl Send for LsKey
impl Sync for LsKey
impl Unpin for LsKey
impl UnwindSafe for LsKey
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