Struct xplr::config::KeyBindings [−][src]
pub struct KeyBindings { /* fields omitted */ }
Implementations
impl KeyBindings
[src]
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 Clone for KeyBindings
[src]fn clone(&self) -> KeyBindings
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for KeyBindings
[src]
impl Default for KeyBindings
[src]fn default() -> KeyBindings
[src]
impl<'de> Deserialize<'de> for KeyBindings
[src]
impl<'de> Deserialize<'de> for KeyBindings
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for KeyBindings
[src]
impl Serialize for KeyBindings
[src]Auto Trait Implementations
impl RefUnwindSafe for KeyBindings
impl RefUnwindSafe for KeyBindings
impl Send for KeyBindings
impl Send for KeyBindings
impl Sync for KeyBindings
impl Sync for KeyBindings
impl Unpin for KeyBindings
impl Unpin for KeyBindings
impl UnwindSafe for KeyBindings
impl UnwindSafe for KeyBindings
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]