pub struct EuvMobileNavItemProps {
pub route_signal: Signal<String>,
pub drawer_open: Signal<bool>,
pub icon: &'static str,
pub label: &'static str,
pub target: &'static str,
pub on_navigate: Option<NavEventCallback>,
}Expand description
Props for the euv_mobile_nav_item component.
Defines the strongly-typed interface for a mobile navigation item link that closes the drawer on navigation.
Fields§
§route_signal: Signal<String>§drawer_open: Signal<bool>§icon: &'static str§label: &'static str§target: &'static strTrait Implementations§
Source§fn clone(&self) -> EuvMobileNavItemProps
fn clone(&self) -> EuvMobileNavItemProps
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() -> EuvMobileNavItemProps
fn default() -> EuvMobileNavItemProps
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