#[non_exhaustive]pub enum EngineEventKind {
Show 13 variants
EventMaskChanged,
WidgetAdded,
EventBroadcast,
CustomEventDropped,
FontLoaded,
GlyphAtlasPageAdded,
FocusChanged,
ActionTriggered,
TimerFired,
TimerCancelled,
IdleRan,
AnimationTicked,
Error,
}Expand description
The kind of an EngineEvent, without its data. Used to filter which engine events a
Widget or callback receives.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EventMaskChanged
WidgetAdded
EventBroadcast
CustomEventDropped
FontLoaded
GlyphAtlasPageAdded
FocusChanged
ActionTriggered
TimerFired
TimerCancelled
IdleRan
See EngineEvent::IdleRan.
AnimationTicked
Error
See EngineEvent::Error.
Trait Implementations§
Source§impl Clone for EngineEventKind
impl Clone for EngineEventKind
impl Copy for EngineEventKind
Source§impl Debug for EngineEventKind
impl Debug for EngineEventKind
impl Eq for EngineEventKind
Source§impl Hash for EngineEventKind
impl Hash for EngineEventKind
Source§impl PartialEq for EngineEventKind
impl PartialEq for EngineEventKind
impl StructuralPartialEq for EngineEventKind
Auto Trait Implementations§
impl Freeze for EngineEventKind
impl RefUnwindSafe for EngineEventKind
impl Send for EngineEventKind
impl Sync for EngineEventKind
impl Unpin for EngineEventKind
impl UnsafeUnpin for EngineEventKind
impl UnwindSafe for EngineEventKind
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