Module prelude

Source
Expand description

A collection of useful items most applications might need.

Structs§

GenericRouterContext
This context is set to the RouterConfig on_update method
MemoryHistory
A +History* provider that stores all navigation information in memory.
Navigator
A view into the navigation state of a router.
OutletContext
A context that manages nested routing levels for outlet components.
ParseRouteError
An error that is thrown when the router fails to parse a route
RouteParseError
An error that occurs when parsing a route.
RouterConfig
Global configuration options for the router.
RouterContext
A collection of router data that manages all routing functionality.
SiteMapSegment
A type erased map of the site structure.

Enums§

NavigationTarget
A target for the router to navigate to.
NavigationTargetParseError
An error that can occur when parsing a NavigationTarget.
SegmentType
The type of a route segment.

Traits§

FromHashFragment
FromQuery
FromQueryArgument
FromRouteSegment
FromRouteSegments
Routable
ToRouteSegments

Functions§

outlet
router
A component that renders the current route.
use_outlet_context
use_route

Derive Macros§

Routable