pub struct UI;Expand description
A data-less struct that manages the application.
Users of this library define the application’s behavior
by creating a type that implements the UIController trait.
Implementations
sourceimpl UI
impl UI
sourcepub fn launch<T: 'static + UIController>(controller: T)
pub fn launch<T: 'static + UIController>(controller: T)
Start the application using the given UIController
Auto Trait Implementations
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