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