pub struct KeySequence {
pub keys: Vec<String>,
pub action: Value,
}Expand description
A two-key sequence binding.
Fields§
§keys: Vec<String>Key sequence (e.g., ["ctrl+b", "0"])
action: ValueAction to perform
Trait Implementations§
Source§impl Clone for KeySequence
impl Clone for KeySequence
Source§fn clone(&self) -> KeySequence
fn clone(&self) -> KeySequence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeySequence
impl Debug for KeySequence
Source§impl<'de> Deserialize<'de> for KeySequence
impl<'de> Deserialize<'de> for KeySequence
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
Auto Trait Implementations§
impl Freeze for KeySequence
impl RefUnwindSafe for KeySequence
impl Send for KeySequence
impl Sync for KeySequence
impl Unpin for KeySequence
impl UnsafeUnpin for KeySequence
impl UnwindSafe for KeySequence
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