pub enum Event {
Show 24 variants
Activated,
Inactivated,
Draw(Draw),
Moved(Moved),
Resizing(Resizing),
Resized(Resized),
MouseInput(MouseInput),
CursorMoved(CursorMoved),
CursorEntered(CursorEntered),
CursorLeft(CursorLeft),
MouseWheel(MouseWheel),
KeyInput(KeyInput),
CharInput(CharInput),
ImeStartComposition(ImeStartComposition),
ImeComposition(ImeComposition),
ImeEndComposition(ImeEndComposition),
Minimized,
Maximized(Maximized),
Restored(Restored),
DpiChanged(DpiChanged),
DropFiles(DropFiles),
CloseRequest(CloseRequest),
Closed,
Other(Other),
}
Expand description
The list of window events.
Variants§
Activated
Inactivated
Draw(Draw)
Moved(Moved)
Resizing(Resizing)
Resized(Resized)
MouseInput(MouseInput)
CursorMoved(CursorMoved)
CursorEntered(CursorEntered)
CursorLeft(CursorLeft)
MouseWheel(MouseWheel)
KeyInput(KeyInput)
CharInput(CharInput)
ImeStartComposition(ImeStartComposition)
ImeComposition(ImeComposition)
ImeEndComposition(ImeEndComposition)
Minimized
Maximized(Maximized)
Restored(Restored)
DpiChanged(DpiChanged)
DropFiles(DropFiles)
CloseRequest(CloseRequest)
Closed
Other(Other)
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