Struct xplr::config::KeyBindings[][src]

pub struct KeyBindings {
    pub remaps: BTreeMap<String, String>,
    pub on_key: BTreeMap<String, Action>,
    pub on_alphabet: Option<Action>,
    pub on_number: Option<Action>,
    pub on_special_character: Option<Action>,
    pub default: Option<Action>,
}

Fields

remaps: BTreeMap<String, String>on_key: BTreeMap<String, Action>on_alphabet: Option<Action>on_number: Option<Action>on_special_character: Option<Action>default: Option<Action>

Implementations

impl KeyBindings[src]

pub fn sanitized(self, read_only: bool) -> Self[src]

pub fn extend(self, other: Self) -> Self[src]

Trait Implementations

impl Clone for KeyBindings[src]

impl Debug for KeyBindings[src]

impl Default for KeyBindings[src]

impl<'de> Deserialize<'de> for KeyBindings[src]

impl Serialize for KeyBindings[src]

Auto Trait Implementations

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, 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.