pub struct EuvNavbarItem {
pub text: &'static str,
pub link: &'static str,
}Expand description
One link entry of the euv_navbar top navigation bar.
Internal links (hash routes) highlight when their path prefix matches the
current route; links starting with http open in a new tab.
Fields§
§text: &'static strThe display text.
link: &'static strThe link target (hash route path or external URL).
Implementations§
pub fn get_text(&self) -> &'static str
pub fn get_mut_text(&mut self) -> &mut &'static str
pub fn set_text(&mut self, val: &'static str) -> &mut Self
pub fn get_link(&self) -> &'static str
pub fn get_mut_link(&mut self) -> &mut &'static str
pub fn set_link(&mut self, val: &'static str) -> &mut Self
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