pub enum NewPressedKey<R> {
Key(R),
NoOp,
}
Expand description
Newtype for invoking new_pressed_key on the key for the given ref.
Variants§
Key(R)
Invoke new_pressed_key on the key at the given ref.
NoOp
For keys which do nothing when pressed.
Implementations§
Trait Implementations§
Source§impl<R: Debug> Debug for NewPressedKey<R>
impl<R: Debug> Debug for NewPressedKey<R>
Source§impl<R: PartialEq> PartialEq for NewPressedKey<R>
impl<R: PartialEq> PartialEq for NewPressedKey<R>
impl<R> StructuralPartialEq for NewPressedKey<R>
Auto Trait Implementations§
impl<R> Freeze for NewPressedKey<R>where
R: Freeze,
impl<R> RefUnwindSafe for NewPressedKey<R>where
R: RefUnwindSafe,
impl<R> Send for NewPressedKey<R>where
R: Send,
impl<R> Sync for NewPressedKey<R>where
R: Sync,
impl<R> Unpin for NewPressedKey<R>where
R: Unpin,
impl<R> UnwindSafe for NewPressedKey<R>where
R: UnwindSafe,
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