Struct sycamore_router::StaticRouterProps
source · [−]pub struct StaticRouterProps<'a, R, F, G> where
R: Route + 'a,
F: Fn(ScopeRef<'a>, &'a ReadSignal<R>) -> View<G> + 'a,
G: GenericNode, { /* private fields */ }
Expand description
Props for StaticRouter
.
Implementations
impl<'a, R, F, G> StaticRouterProps<'a, R, F, G> where
R: Route + 'a,
F: Fn(ScopeRef<'a>, &'a ReadSignal<R>) -> View<G> + 'a,
G: GenericNode,
impl<'a, R, F, G> StaticRouterProps<'a, R, F, G> where
R: Route + 'a,
F: Fn(ScopeRef<'a>, &'a ReadSignal<R>) -> View<G> + 'a,
G: GenericNode,
impl<'a, R, F, G> StaticRouterProps<'a, R, F, G> where
R: Route,
F: Fn(ScopeRef<'a>, &'a ReadSignal<R>) -> View<G> + 'a,
G: GenericNode,
impl<'a, R, F, G> StaticRouterProps<'a, R, F, G> where
R: Route,
F: Fn(ScopeRef<'a>, &'a ReadSignal<R>) -> View<G> + 'a,
G: GenericNode,
Create a new StaticRouterProps
.