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

pub struct Application { /* fields omitted */ }

Use this to initialize and start your application with.

Implementations

impl Application[src]

pub fn initialize() -> Application[src]

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.

pub fn start(&self) -> Runtime[src]

Creates a Runtime from which you can run the application.

Trait Implementations

impl Drop for Application[src]

impl From<ApplicationHandle> for Application[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.