Module percy_router::prelude [−][src]
Expand description
Things that you’ll usually need when working with frontend routing
Macros
Structs
Data that was provided by the developer.
A route specifies a path to match against. When a match is found a view_creator
is used
to return an impl View
that can be used to render the appropriate content for that route.
Holds all of the routes for an application.
Traits
Used by percy-router-macro during code generation when turning your
Enables a type to be used as a route paramer
Type Definitions
Given a param_key &str and a param_val &str, get the corresponding route parameter
A map of TypeId’s to Box<Provided
Attribute Macros
An attribute that turns a function into a view route