pub struct AppShell { /* private fields */ }Expand description
A full page layout: navbar on top, sidebar on the left (a drawer on small
screens, opened by the navbar’s menu_toggle), content in the middle.
ⓘ
AppShell![
navbar = Navbar![brand = strong!["Acme"], menu_toggle = true],
sidebar = Sidebar![SidebarItem![href = "/", "Home"]],
children,
]Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AppShell
impl !Sync for AppShell
impl !UnwindSafe for AppShell
impl Forget for AppShell
impl Freeze for AppShell
impl Move for AppShell
impl Send for AppShell
impl Unpin for AppShell
impl UnsafeUnpin for AppShell
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