Enum gui::UnhandledEvent

source ·
pub enum UnhandledEvent {
    Event(Event),
    Custom(Box<dyn Any>),
    Quit,
}
Expand description

An event that the Ui did not process.

An unhandled event comprises the variants of a UiEvent that are not concerned with addressing.

Variants

Event(Event)

An Event that can be handled by a Handleable.

Custom(Box<dyn Any>)

A custom event that can contain arbitrary data.

Quit

A request to quit the application has been made.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.