pub struct EuvNavItemConfig {
pub icon: &'static str,
pub label: &'static str,
pub target: &'static str,
}Expand description
Configuration for a navigation item.
Used with EuvNavItemsProps for declarative navigation configuration.
Fields§
§icon: &'static strThe emoji icon for the navigation item.
label: &'static strThe display label for the navigation item.
target: &'static strThe target route path.
Trait Implementations§
Source§fn clone(&self) -> EuvNavItemConfig
fn clone(&self) -> EuvNavItemConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn default() -> EuvNavItemConfig
fn default() -> EuvNavItemConfig
Returns the “default value” for a type. Read more
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