pub enum Event {
Chorded(Event),
TapHold(Event),
LayerModification(LayerEvent),
}
Expand description
Sum type aggregating the key::Event types.
Variants§
Chorded(Event)
A chorded event.
TapHold(Event)
A tap-hold event.
LayerModification(LayerEvent)
A layer modification event.
Trait Implementations§
Source§impl From<LayerEvent> for Event
impl From<LayerEvent> for Event
Source§fn from(ev: LayerEvent) -> Self
fn from(ev: LayerEvent) -> Self
Converts to this type from the input type.
Source§impl TryFrom<Event> for LayerEvent
impl TryFrom<Event> for LayerEvent
impl Copy for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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