pub struct Hotkey {
pub modifiers: Modifiers,
pub key: Key,
}Expand description
A global hotkey: a set of modifiers plus a primary key.
Fields§
§modifiers: Modifiers§key: KeyTrait Implementations§
impl Copy for Hotkey
Source§impl<'de> Deserialize<'de> for Hotkey
impl<'de> Deserialize<'de> for Hotkey
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 Hotkey
impl StructuralPartialEq for Hotkey
Auto Trait Implementations§
impl Freeze for Hotkey
impl RefUnwindSafe for Hotkey
impl Send for Hotkey
impl Sync for Hotkey
impl Unpin for Hotkey
impl UnsafeUnpin for Hotkey
impl UnwindSafe for Hotkey
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