pub struct KeyCombo {
pub modifiers: Vec<Modifier>,
pub key: Key,
}Expand description
Represents a key combination (modifiers + key)
Fields§
§modifiers: Vec<Modifier>§key: KeyTrait Implementations§
Source§impl<'de> Deserialize<'de> for KeyCombo
impl<'de> Deserialize<'de> for KeyCombo
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 KeyCombo
impl StructuralPartialEq for KeyCombo
Auto Trait Implementations§
impl Freeze for KeyCombo
impl RefUnwindSafe for KeyCombo
impl Send for KeyCombo
impl Sync for KeyCombo
impl Unpin for KeyCombo
impl UnwindSafe for KeyCombo
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