pub enum HotkeyState {
Pressed,
Released,
}Expand description
The state of a hotkey (pressed or released)
Variants§
Trait Implementations§
Source§impl Clone for HotkeyState
impl Clone for HotkeyState
Source§fn clone(&self) -> HotkeyState
fn clone(&self) -> HotkeyState
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 HotkeyState
impl Debug for HotkeyState
Source§impl<'de> Deserialize<'de> for HotkeyState
impl<'de> Deserialize<'de> for HotkeyState
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 Hash for HotkeyState
impl Hash for HotkeyState
Source§impl PartialEq for HotkeyState
impl PartialEq for HotkeyState
Source§impl Serialize for HotkeyState
impl Serialize for HotkeyState
impl Copy for HotkeyState
impl Eq for HotkeyState
impl StructuralPartialEq for HotkeyState
Auto Trait Implementations§
impl Freeze for HotkeyState
impl RefUnwindSafe for HotkeyState
impl Send for HotkeyState
impl Sync for HotkeyState
impl Unpin for HotkeyState
impl UnsafeUnpin for HotkeyState
impl UnwindSafe for HotkeyState
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