[−][src]Struct broot::verb::VerbStore
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
impl VerbStore
[src]
pub fn init(&mut self, conf: &mut Conf) -> Result<(), ConfError>
[src]
pub fn search<'v>(
&'v self,
prefix: &str,
stype: Option<SelectionType>
) -> PrefixSearchResult<'v, &Verb>
[src]
&'v self,
prefix: &str,
stype: Option<SelectionType>
) -> PrefixSearchResult<'v, &Verb>
pub fn index_of_key(&self, key: KeyEvent) -> Option<usize>
[src]
return the index of the verb which is triggered by the given keyboard key, if any
pub fn key_desc_of_internal_stype(
&self,
internal: Internal,
stype: SelectionType
) -> Option<String>
[src]
&self,
internal: Internal,
stype: SelectionType
) -> Option<String>
pub fn key_desc_of_internal(&self, internal: Internal) -> Option<String>
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for VerbStore
[src]
impl Send for VerbStore
[src]
impl Sync for VerbStore
[src]
impl Unpin for VerbStore
[src]
impl UnwindSafe for VerbStore
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,