pub struct ResetKeys {
pub enter: bool,
pub tab: bool,
pub escape: bool,
pub up: bool,
pub down: bool,
pub page_up: bool,
pub page_down: bool,
pub delete: bool,
pub insert: bool,
}Expand description
Per-key toggles for “this key clears the typing buffer.” See
Behavior::reset_keys. Defaults match what the daemon needs
to stay safe — Enter, the arrow keys above/below, Page Up/Down,
forward Delete, and Insert all reset; Tab and Escape do not
because they typically don’t change typed text and resetting
drops the buffer for no gain.
Fields§
§enter: bool§tab: bool§escape: bool§up: bool§down: bool§page_up: bool§page_down: bool§delete: bool§insert: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for ResetKeys
impl<'de> Deserialize<'de> for ResetKeys
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ResetKeys
impl StructuralPartialEq for ResetKeys
Auto Trait Implementations§
impl Freeze for ResetKeys
impl RefUnwindSafe for ResetKeys
impl Send for ResetKeys
impl Sync for ResetKeys
impl Unpin for ResetKeys
impl UnsafeUnpin for ResetKeys
impl UnwindSafe for ResetKeys
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.