Struct sycamore_router::StaticRouter[][src]

pub struct StaticRouter<G: GenericNode, R, F> { /* fields omitted */ }
Expand description

A router that only renders once with the given route.

This is useful for SSR where we want the HTML to be rendered instantly instead of waiting for the route preload to finish loading.

Trait Implementations

The name of the component (for use in debug mode). In release mode, this will default to "UnnamedComponent" Read more

The type of the properties passed to the component.

Create a new component with an instance of the properties. Read more

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.