pub struct NavigationView {
pub bar: Bar,
pub content: AnyView,
}Expand description
A view that combines a navigation bar with content.
The NavigationView contains a navigation bar with a title and other
configuration options, along with the actual content to display.
Fields§
§bar: BarThe navigation bar for this view
content: AnyViewThe content to display in this view
Implementations§
Trait Implementations§
Source§fn stretch_axis(&self) -> StretchAxis
fn stretch_axis(&self) -> StretchAxis
Which axis (or axes) this view stretches to fill available space.
Auto Trait Implementations§
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more