pub struct EuvRoutesProps {
pub route_signal: Signal<String>,
pub routes: Vec<EuvRouteConfig>,
pub fallback: Option<Rc<dyn Fn() -> VirtualNode>>,
}Expand description
Props for declarative route-based rendering.
Fields§
§route_signal: Signal<String>The reactive signal holding the current route.
routes: Vec<EuvRouteConfig>The list of route configurations.
fallback: Option<Rc<dyn Fn() -> VirtualNode>>Optional fallback component when no route matches.
Trait Implementations§
Source§impl Clone for EuvRoutesProps
impl Clone for EuvRoutesProps
Source§fn clone(&self) -> EuvRoutesProps
fn clone(&self) -> EuvRoutesProps
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§impl Debug for EuvRoutesProps
impl Debug for EuvRoutesProps
Source§impl Default for EuvRoutesProps
impl Default for EuvRoutesProps
Source§fn default() -> EuvRoutesProps
fn default() -> EuvRoutesProps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for EuvRoutesProps
impl !Send for EuvRoutesProps
impl !Sync for EuvRoutesProps
impl !UnwindSafe for EuvRoutesProps
impl Freeze for EuvRoutesProps
impl Unpin for EuvRoutesProps
impl UnsafeUnpin for EuvRoutesProps
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