pub struct App { /* private fields */ }
Expand description
The GUI
Implementations
sourceimpl 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
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