pub struct App<W: Write> { /* private fields */ }Expand description
Main application runtime.
Implementations§
Source§impl<W: Write> App<W>
impl<W: Write> App<W>
Sourcepub fn with_writer(writer: W, config: AppConfig) -> Result<Self>
pub fn with_writer(writer: W, config: AppConfig) -> Result<Self>
Create an App with a custom writer.
Sourcepub fn should_exit(&self) -> bool
pub fn should_exit(&self) -> bool
Check if the app should exit.
Sourcepub fn blaeck_mut(&mut self) -> &mut Blaeck<W>
pub fn blaeck_mut(&mut self) -> &mut Blaeck<W>
Get a mutable reference to the underlying Blaeck renderer.
Auto Trait Implementations§
impl<W> Freeze for App<W>where
W: Freeze,
impl<W> RefUnwindSafe for App<W>where
W: RefUnwindSafe,
impl<W> !Send for App<W>
impl<W> !Sync for App<W>
impl<W> Unpin for App<W>where
W: Unpin,
impl<W> UnwindSafe for App<W>where
W: UnwindSafe,
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