pub struct App {
pub title: String,
pub root: VNode,
pub render_fn: Option<Box<dyn Fn() -> VNode>>,
}Expand description
Application runtime
Fields§
§title: StringApplication title
root: VNodeRoot UI component (static VNode for now)
render_fn: Option<Box<dyn Fn() -> VNode>>Optional render function for reactive apps
Implementations§
Auto Trait Implementations§
impl Freeze for App
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