Enum shortcutd::ShortcutState
source · pub enum ShortcutState {
Pressed,
Released,
}
Expand description
Whether the shortcut was pressed or released
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ShortcutState
impl Clone for ShortcutState
source§fn clone(&self) -> ShortcutState
fn clone(&self) -> ShortcutState
Returns a copy 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 ShortcutState
impl Debug for ShortcutState
source§impl Display for ShortcutState
impl Display for ShortcutState
source§impl Hash for ShortcutState
impl Hash for ShortcutState
source§impl PartialEq<ShortcutState> for ShortcutState
impl PartialEq<ShortcutState> for ShortcutState
source§fn eq(&self, other: &ShortcutState) -> bool
fn eq(&self, other: &ShortcutState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ShortcutState
impl Eq for ShortcutState
impl StructuralEq for ShortcutState
impl StructuralPartialEq for ShortcutState
Auto Trait Implementations§
impl RefUnwindSafe for ShortcutState
impl Send for ShortcutState
impl Sync for ShortcutState
impl Unpin for ShortcutState
impl UnwindSafe for ShortcutState
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