Struct browser_window::prelude::ApplicationImpl [−][src]
pub struct ApplicationImpl { /* fields omitted */ }
Trait Implementations
Asserts if not on the GUI thread
Dispatches work to be executed on the GUI thread.
pub fn dispatch_delayed(
&self,
work: unsafe fn(ApplicationImpl, *mut ()),
_data: *mut (),
delay: Duration
) -> bool
pub fn dispatch_delayed(
&self,
work: unsafe fn(ApplicationImpl, *mut ()),
_data: *mut (),
delay: Duration
) -> bool
Dispatches work to be executed on the GUI thread, but delayed by the specified number of milliseconds.
Causes the main loop to exit and lets it return the given code.
Same as exit
, but is thread-safe.
pub fn initialize(
argc: i32,
argv: *mut *mut i8,
_settings: &ApplicationSettings
) -> Result<ApplicationImpl, CbwError>
When this is called, the runtime will exit as soon as there are no more windows left.
Auto Trait Implementations
impl RefUnwindSafe for ApplicationImpl
impl !Send for ApplicationImpl
impl !Sync for ApplicationImpl
impl Unpin for ApplicationImpl
impl UnwindSafe for ApplicationImpl
Blanket Implementations
Mutably borrows from an owned value. Read more