Struct fui_system::Application
source · [−]pub struct Application { /* private fields */ }
Expand description
The application. Manages application control flow.
Implementations
sourceimpl Application
impl Application
sourcepub fn new(options: ApplicationOptions) -> Result<Self, FUISystemError>
pub fn new(options: ApplicationOptions) -> Result<Self, FUISystemError>
Creates the application object and sets the application display name.
sourcepub fn get_dispatcher(&self) -> Dispatcher
pub fn get_dispatcher(&self) -> Dispatcher
Gets Dispatcher that allows to communicate with a message loop from the same thread.
sourcepub fn message_loop(&self) -> i32
pub fn message_loop(&self) -> i32
Enters the main event loop and waits until exit() is called, then returns the value that was set to exit().
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more