pub enum Event {
Pointer(PointerEvent),
RawMouseMotion(RawMouseMotionEvent),
Drag(DragEvent),
Keyboard(KeyboardEvent),
Ime(ImeEvent),
Semantics(SemanticsEvent),
Wake(WakeEvent),
Window(WindowEvent),
Custom(CustomEvent),
}Variants§
Pointer(PointerEvent)
RawMouseMotion(RawMouseMotionEvent)
Drag(DragEvent)
Keyboard(KeyboardEvent)
Ime(ImeEvent)
Semantics(SemanticsEvent)
Wake(WakeEvent)
Window(WindowEvent)
Window or embedded-viewport lifecycle event. The receiving WindowId
is carried by the platform/runtime call that delivers the event.
Custom(CustomEvent)
Trait Implementations§
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl !RefUnwindSafe for Event
impl !UnwindSafe for Event
impl Forget for Event
impl Freeze for Event
impl Move for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin 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