[][src]Module yew_router::prelude

Prelude module that can be imported when working with the yew_router

Re-exports

pub use super::unit_state::*;
pub use crate::switch::Switch;
pub use crate::agent::AgentState;
pub use crate::route::RouteState;
pub use crate::router::RouterState;

Type Definitions

Captures

Alias of HashMap<&'a str, String> that represent strings captured from a route.

Derive Macros

Switch

Implements Switch trait based on attributes present on the struct or enum variants.