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§

§1.55.0

Continue(EventIgnored)

Move on to the next phase of the operation as normal.

§1.55.0

Break(EventHandled)

Exit the operation without running subsequent phases.