Struct browser_window::application::Application[][src]

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

Use this to initialize and start your application with.

Implementations

Shuts down other processes and performs any necessary clean-up code. This is useful if you main function doesn’t exit naturally. If you call std::process::exit, the variables currently available don’t get dropped. This is problematic because Browser Window needs to shut down properly. Call this if you are using exit or doing something else to kill the process.

In order to use the Browser Window API, you need to initialize Browser Window at the very start of your application. Preferably on the first line of your main function.

Warning

This will open another process of your application. Therefore, any code that will be placed before initialization will also be executed on all other processes. This is generally unnecessary.

Arguments

settings - Some settings that allow you to tweak some application behaviors. Use Settings::default() for default settings that work for most people.

Creates a Runtime from which you can run the application.

Trait Implementations

Executes the destructor for this type. Read more

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

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.