Struct browser_window::prelude::ApplicationImpl
source · pub struct ApplicationImpl { /* private fields */ }
Trait Implementations§
source§impl ApplicationExt for ApplicationImpl
impl ApplicationExt for ApplicationImpl
source§fn assert_correct_thread(&self)
fn assert_correct_thread(&self)
Asserts if not on the GUI thread
source§fn dispatch(
&self,
work: fn(_: ApplicationImpl, _: *mut ()),
_data: *mut ()
) -> bool
fn dispatch( &self, work: fn(_: ApplicationImpl, _: *mut ()), _data: *mut () ) -> bool
Dispatches work to be executed on the GUI thread.
source§fn dispatch_delayed(
&self,
work: fn(_: ApplicationImpl, _: *mut ()),
_data: *mut (),
delay: Duration
) -> bool
fn dispatch_delayed( &self, work: 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.
source§fn exit(&self, exit_code: i32)
fn exit(&self, exit_code: i32)
Causes the main loop to exit and lets it return the given code.
source§fn exit_threadsafe(&self, exit_code: i32)
fn exit_threadsafe(&self, exit_code: i32)
Same as
exit
, but is thread-safe.fn initialize( argc: c_int, argv: *mut *mut c_char, settings: &ApplicationSettings ) -> Result<Self>
source§fn mark_as_done(&self)
fn mark_as_done(&self)
When this is called, the runtime will exit as soon as there are no more
windows left.
source§impl Clone for ApplicationImpl
impl Clone for ApplicationImpl
source§fn clone(&self) -> ApplicationImpl
fn clone(&self) -> ApplicationImpl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for ApplicationImpl
Auto Trait Implementations§
impl Freeze for ApplicationImpl
impl RefUnwindSafe for ApplicationImpl
impl !Send for ApplicationImpl
impl !Sync for ApplicationImpl
impl Unpin for ApplicationImpl
impl UnwindSafe for ApplicationImpl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more