pub struct HotkeyEvent {
pub id: HotkeyId,
pub state: HotkeyState,
}Expand description
Event emitted when a hotkey is pressed or released
Fields§
§id: HotkeyId§state: HotkeyStateTrait Implementations§
Source§impl Clone for HotkeyEvent
impl Clone for HotkeyEvent
Source§fn clone(&self) -> HotkeyEvent
fn clone(&self) -> HotkeyEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 HotkeyEvent
impl Debug for HotkeyEvent
Source§impl<'de> Deserialize<'de> for HotkeyEvent
impl<'de> Deserialize<'de> for HotkeyEvent
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
Source§impl Serialize for HotkeyEvent
impl Serialize for HotkeyEvent
impl Copy for HotkeyEvent
Auto Trait Implementations§
impl Freeze for HotkeyEvent
impl RefUnwindSafe for HotkeyEvent
impl Send for HotkeyEvent
impl Sync for HotkeyEvent
impl Unpin for HotkeyEvent
impl UnsafeUnpin for HotkeyEvent
impl UnwindSafe for HotkeyEvent
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