pub struct NavigationDestination<'a> {
pub label: &'a str,
pub icon: &'a str,
pub enabled: bool,
pub badge: Option<(BadgeContent<'a>, &'a str)>,
}Expand description
A destination’s icon is supplied by the caller as a glyph; badge text and its accessible description are optional.
Fields§
§label: &'a str§icon: &'a str§enabled: bool§badge: Option<(BadgeContent<'a>, &'a str)>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