[−][src]Struct browser_window::application::Application
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]
fn from(other: ApplicationHandle) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for Application
impl !Send for Application
impl !Sync for Application
impl Unpin for Application
impl UnwindSafe for Application
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,