pub struct NavLink {
pub href: Option<String>,
pub target: Option<String>,
pub content: Vec<NavLinkPart>,
}Expand description
A single link in the navigation bar
Fields§
§href: Option<String>§target: Option<String>§content: Vec<NavLinkPart>Trait Implementations§
Source§fn from(map: IndexMap<AttributeKey, AttributeValue>) -> Self
fn from(map: IndexMap<AttributeKey, AttributeValue>) -> Self
Converts to this type from the input type.
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