pub trait SidebarEntries<T: 'static> {
// Required method
fn add_to(self, sections: &mut Vec<SidebarSection<T>>);
}Expand description
What a Sidebar takes as children: SidebarItems,
SidebarSections, and tuples, Vecs and Options of them.
Required Methods§
fn add_to(self, sections: &mut Vec<SidebarSection<T>>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".