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

Create a builder for building StaticRouterProps. On the builder, call .view(...), .route(...) to set the values of the fields. Finally, call .build() to create the instance of StaticRouterProps.

Create a new StaticRouterProps.

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.