[][src]Struct ls_key::LsKey

pub struct LsKey {
    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: Listall: boolinput: Inputfuzzy_list: Option<List>pre_fuzz_list: Option<List>display: Option<(PathBuf, String)>halt: boolis_fuzzed: booltest: boolinput_vec: Vec<String>output_vec: Vec<String>fzf_hook_path: Option<PathBuf>fzc_hook_path: Option<PathBuf>fzd_hook_path: Option<PathBuf>default_editor: Stringdefault_opener: String

Implementations

impl LsKey[src]

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
[src]

pub fn fuzzy_update(&mut self, input: String) -> Self[src]

pub fn scores_to_list(&mut self, scores: Scores) -> List[src]

pub fn update(&mut self, list: List)[src]

pub fn update_file_display(&mut self, filter: bool)[src]

pub fn filter_mode(&mut self, list: List)[src]

pub fn key_mode(&mut self, list: List, input: Input, is_fuzzed: bool)[src]

pub fn mode_parse(&mut self, input: String) -> Option<Mode>[src]

Trait Implementations

impl Clone for LsKey[src]

impl Debug for LsKey[src]

impl Default for LsKey[src]

impl PartialEq<LsKey> for LsKey[src]

impl StructuralPartialEq for LsKey[src]

Auto Trait Implementations

impl RefUnwindSafe for LsKey

impl Send for LsKey

impl Sync for LsKey

impl Unpin for LsKey

impl UnwindSafe for LsKey

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.