use super::Tree; use axohtml::html; pub struct Home { doc: Tree, } impl Home { pub fn build() -> Self { let doc = html!(

"Inventory"

"Trips"

); Self { doc } } } impl Into for Home { fn into(self) -> Tree { self.doc } }