Struct broot::verb::VerbStore [−][src]
Expand description
Provide access to the verbs:
- the built-in ones
- the user defined ones A user defined verb can replace a built-in. When the user types some keys, we select a verb
- if the input exactly matches a shortcut or the name
- if only one verb name starts with the input
Fields
verbs: Vec<Verb>
Implementations
pub fn search_sel_info<'v>(
&'v self,
prefix: &str,
sel_info: &SelInfo<'_>
) -> PrefixSearchResult<'v, &Verb>
pub fn search<'v>(
&'v self,
prefix: &str,
stype: Option<SelectionType>,
sel_count: Option<usize>
) -> PrefixSearchResult<'v, &Verb>
return the index of the verb which is triggered by the given keyboard key, if any