Type Alias cushy::widget::EventHandling
source · pub type EventHandling = ControlFlow<EventHandled, EventIgnored>;
Expand description
A type that represents whether an event has been handled or ignored.
Aliased Type§
enum EventHandling {
Continue(EventIgnored),
Break(EventHandled),
}
Variants§
Continue(EventIgnored)
Move on to the next phase of the operation as normal.
Break(EventHandled)
Exit the operation without running subsequent phases.