pub struct SNav {
pub description: String,
pub subs: Vec<SNav>,
pub links: Vec<Link>,
pub tags: Tags,
pub props: Props,
}
Expand description
Sub-navigation structure has a description, sub-navigation structures and links to navigate to.
Fields§
§description: String
§subs: Vec<SNav>
§links: Vec<Link>
§props: Props
Trait Implementations§
fn prune_errors(&mut self)
fn prune_contentless(&mut self)
fn is_contentless(&self) -> bool
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