lgui-router 0.2.0

Declarative routing for LGUI applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod context;
mod declarative;
mod hooks;
mod location;
mod matcher;
mod runtime;

pub use context::{Back, Navigate, Replace, RouterContext};
pub use declarative::{
    create_router, index, layout, not_found, outlet, redirect, route, scope, DeclarativeRouter,
    IntoRoutes, Route,
};
pub use hooks::RouterHooks;
pub use location::{Location, PathParams};
pub use matcher::matches::{RouteId, RouteMatch, RouteMatchHooks, RouteMatches};
pub use runtime::{RouteAction, RouteChange, RouteSubscriptionToken, Router, RouterSnapshot};