pub enum EventType {
KeyPress,
KeyRelease,
MouseClick,
MouseMove,
MouseScroll,
FocusIn,
FocusOut,
Resize,
Custom,
}Expand description
Event type for logging
Variants§
KeyPress
Key press event
KeyRelease
Key release event
MouseClick
Mouse click
MouseMove
Mouse move
MouseScroll
Mouse scroll
FocusIn
Focus gained
FocusOut
Focus lost
Resize
Resize event
Custom
Custom/user event
Implementations§
Trait Implementations§
impl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnsafeUnpin for EventType
impl UnwindSafe for EventType
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