pub struct SidebarSection {
pub title: String,
pub items: Vec<NavItem>,
}Expand description
A sidebar section containing a title and a list of navigation items.
Fields§
§title: StringSection heading.
items: Vec<NavItem>Navigation items in this section.
Implementations§
Auto Trait Implementations§
impl Freeze for SidebarSection
impl RefUnwindSafe for SidebarSection
impl Send for SidebarSection
impl Sync for SidebarSection
impl Unpin for SidebarSection
impl UnsafeUnpin for SidebarSection
impl UnwindSafe for SidebarSection
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