pub struct NavProps {
pub title: String,
pub split: bool,
pub bar_action: Option<NavBarAction>,
}Expand description
Navigation host (docs/navigation.md). split = sidebar+detail presentation
(chosen by the pieces layer from Cap::NavSplit); false = stack presentation.
Fields§
§title: String§split: bool§bar_action: Option<NavBarAction>An optional trailing bar-button command for the mobile nav bar (see NavBarAction);
None on desktop, where the toolbar carries commands instead.
Trait Implementations§
Auto Trait Implementations§
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