pub struct Application { /* private fields */ }
Expand description

The application. Manages application control flow.

Implementations

Creates the application object and sets the application display name.

Gets Dispatcher that allows to communicate with a message loop from the same thread.

Enters the main event loop and waits until exit() is called, then returns the value that was set to exit().

Tells the message loop to exit with a return code.

Posts function to be executed on the main event loop. Can be called from any thread.

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.