[][src]Struct meli::conf::shortcuts::GeneralShortcuts

pub struct GeneralShortcuts {
    pub toggle_help: Key,
    pub enter_command_mode: Key,
    pub quit: Key,
    pub go_to_tab: Key,
    pub next_tab: Key,
    pub scroll_right: Key,
    pub scroll_left: Key,
    pub scroll_up: Key,
    pub scroll_down: Key,
}

Fields

toggle_help: Keyenter_command_mode: Keyquit: Keygo_to_tab: Keynext_tab: Keyscroll_right: Keyscroll_left: Keyscroll_up: Keyscroll_down: Key

Implementations

impl GeneralShortcuts[src]

pub fn key_desc(&self, key: &str) -> &'static str[src]

Returns a shortcut's description

pub fn key_values(&self) -> IndexMap<&'static str, Key>[src]

Returns a hashmap of all shortcuts and their values

Trait Implementations

impl Clone for GeneralShortcuts[src]

impl Debug for GeneralShortcuts[src]

impl Default for GeneralShortcuts[src]

impl<'de> Deserialize<'de> for GeneralShortcuts where
    GeneralShortcuts: Default
[src]

impl DotAddressable for GeneralShortcuts[src]

impl Serialize for GeneralShortcuts[src]

Auto Trait Implementations

impl RefUnwindSafe for GeneralShortcuts

impl Send for GeneralShortcuts

impl Sync for GeneralShortcuts

impl Unpin for GeneralShortcuts

impl UnwindSafe for GeneralShortcuts

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

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

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]