Skip to main content

Crate lgui_router

Crate lgui_router 

Source

Structs§

Back
DeclarativeRouter
Location
A complete navigation target. History stores Location, rather than a matched route identifier, so dynamic parameters and query state survive back/replace.
Navigate
PathParams
Replace
Route
RouteChange
RouteId
RouteMatch
RouteMatches
RouteSubscriptionToken
Router
RouterContext
RouterSnapshot

Enums§

RouteAction

Traits§

IntoRoutes
RouteMatchHooks
RouterApplicationExt
RouterAsyncExt
RouterEventExt
RouterHooks

Functions§

create_router
index
Defines the default child for a parent path.
layout
Defines a pathless visual layout. Its view should include outlet() where the selected descendant belongs.
not_found
Defines a sibling fallback. Normal siblings are always attempted before it.
outlet
An Outlet is a retained component boundary. Parent layouts do not subscribe to child selection and therefore keep local state/effects while descendants change.
redirect
Defines an absolute replace redirect. Redirects run after a committed render.
route
Defines a path-matched route. Root patterns are absolute and child patterns are relative. :name captures one decoded segment and *name captures the remaining decoded path.
scope
Groups child routes below a path without adding another visual component.