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

pub struct KeyBindings { /* fields omitted */ }

Implementations

impl KeyBindings[src]

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

pub fn remaps(&self) -> &BTreeMap<String, String>[src]

Get a reference to the key bindings’s remaps.

pub fn on_key(&self) -> &BTreeMap<String, Action>[src]

Get a reference to the key bindings’s on key.

pub fn on_alphabet(&self) -> &Option<Action>[src]

Get a reference to the key bindings’s on alphabet.

pub fn on_number(&self) -> &Option<Action>[src]

Get a reference to the key bindings’s on number.

pub fn on_special_character(&self) -> &Option<Action>[src]

Get a reference to the key bindings’s on special character.

pub fn default(&self) -> &Option<Action>[src]

Get a reference to the key bindings’s default.

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.