pub enum App {
Rust(Root),
Js(Bundle),
}Expand description
The app an engine runs.
Variants§
Rust(Root)
A Rust app: its root component, mounted as the surface’s content.
Js(Bundle)
A JS app (feature js).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for App
impl !UnwindSafe for App
impl Freeze for App
impl Send for App
impl Sync for App
impl Unpin for App
impl UnsafeUnpin 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