pub enum OutputEvent {
Key((Key, EventType)),
Modifier((Modifier, EventType)),
MouseButton((Mouse, EventType)),
MediaKey((Media, EventType)),
Custom(u8, (u8, EventType)),
MouseMove((i8, i8)),
MouseScroll((i8, i8)),
}
Variants§
Key((Key, EventType))
Modifier((Modifier, EventType))
MouseButton((Mouse, EventType))
MediaKey((Media, EventType))
Custom(u8, (u8, EventType))
MouseMove((i8, i8))
MouseScroll((i8, i8))
Trait Implementations§
Source§impl Clone for OutputEvent
impl Clone for OutputEvent
Source§fn clone(&self) -> OutputEvent
fn clone(&self) -> OutputEvent
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 OutputEvent
impl Debug for OutputEvent
Source§impl Format for OutputEvent
impl Format for OutputEvent
Source§impl PartialEq for OutputEvent
impl PartialEq for OutputEvent
impl Copy for OutputEvent
impl Eq for OutputEvent
impl StructuralPartialEq for OutputEvent
Auto Trait Implementations§
impl Freeze for OutputEvent
impl RefUnwindSafe for OutputEvent
impl Send for OutputEvent
impl Sync for OutputEvent
impl Unpin for OutputEvent
impl UnwindSafe for OutputEvent
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