pub struct App { /* private fields */ }
Expand description
The GUI
Implementations§
source§impl App
impl App
pub fn new(con: &AppContext) -> Result<App, ProgramError>
sourcepub fn run(
self,
w: &mut W,
con: &mut AppContext,
conf: &Conf
) -> Result<Option<Launchable>, ProgramError>
pub fn run( self, w: &mut W, con: &mut AppContext, conf: &Conf ) -> Result<Option<Launchable>, ProgramError>
This is the main loop of the application
Auto Trait Implementations§
impl !RefUnwindSafe for App
impl !Send for App
impl !Sync for App
impl Unpin for App
impl !UnwindSafe for App
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