Event

Trait Event 

Source
pub trait Event { }
Expand description

A marker trait for runtime signals.

An Event represents something that has already occurred, such as user input, a timer tick, or the completion of an asynchronous task. Events are produced by the runtime and consumed synchronously during the update phase.

Events carry no control flow and must not fail. All state transitions in response to an event occur inside registered listeners during a runtime update.

Implementors§