Enum spectra::bootstrap::EventSig
[−]
[src]
pub enum EventSig { Ignored, Handled, Focused, Aborted, }
Signals events can pass up back to their handlers to notify them how they have processed an event. They’re three kinds of signals:
EventSig::Ignored
: the event should be passed to other handlers the parents knows about – if any – because it wasn’t handled (ignored);EventSig::Handled
: the event has been correctly handled;EventSig::Focused
: the event has been correctly handled, and the parent should consider that the this handler has now an exclusive focus on that event;EventSig::Aborted
: the event has been correctly handled and the parent handler should be aborted. This signal is typically used to kill all the handlers chain and thus quit the application.
Variants
Ignored
Handled
Focused
Aborted
Trait Implementations
impl Clone for EventSig
[src]
fn clone(&self) -> EventSig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more