pub enum Event {
Show 20 variants
PointerDown(PointerInputEvent),
PointerUp(PointerInputEvent),
PointerMove(PointerMoveEvent),
PointerWheel(PointerWheelEvent),
PointerLeave,
KeyDown(KeyEvent),
KeyUp(KeyEvent),
ImeEnabled,
ImeDisabled,
ImePreedit {
text: String,
cursor: Option<(usize, usize)>,
},
ImeCommit(String),
WindowGotFocus,
WindowLostFocus,
WindowClosed,
WindowResized(Size),
WindowMoved(Point),
WindowMaximizeChanged(bool),
ThemeChanged(Theme),
FocusGained,
FocusLost,
}
Variants§
PointerDown(PointerInputEvent)
PointerUp(PointerInputEvent)
PointerMove(PointerMoveEvent)
PointerWheel(PointerWheelEvent)
PointerLeave
KeyDown(KeyEvent)
KeyUp(KeyEvent)
ImeEnabled
ImeDisabled
ImePreedit
ImeCommit(String)
WindowGotFocus
WindowLostFocus
WindowClosed
WindowResized(Size)
WindowMoved(Point)
WindowMaximizeChanged(bool)
ThemeChanged(Theme)
FocusGained
FocusLost
Implementations§
Trait Implementations§
Auto Trait Implementations§
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