pub enum NavItem {
Entity(EntityRef),
Group {
label: String,
entities: Vec<EntityRef>,
active: bool,
},
}Expand description
A sidebar navigation entry — either a standalone entity link or a named group containing child entity links.
Variants§
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