[][src]Module yew_router::switch

Parses routes into enums or structs.

Structs

AllowMissing

Allows a section to match if its contents are entirely missing, or starts with a '/'.

LeadingSlash

Wrapper that requires that an implementor of Switch must start with a /.

Traits

Switch

Derivable routing trait that allows instances of implementors to be constructed from Routes.

Functions

build_route_from_switch

Builds a route from a switch.