pub struct EuvNavItemProps {
pub route_signal: Signal<String>,
pub icon: &'static str,
pub label: &'static str,
pub target: &'static str,
pub on_click: Option<ClickEventHandler>,
pub class: Option<Css>,
}Expand description
Props for the euv_nav_item component.
Defines the strongly-typed interface for a navigation item link.
Fields§
§route_signal: Signal<String>§icon: &'static str§label: &'static str§target: &'static str§on_click: Option<ClickEventHandler>§class: Option<Css>Trait Implementations§
Source§fn clone(&self) -> EuvNavItemProps
fn clone(&self) -> EuvNavItemProps
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() -> EuvNavItemProps
fn default() -> EuvNavItemProps
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