Crate yew_router_route_parser

Source
Expand description

Parser for yew-router’s matcher syntax. This syntax allows specifying if a route should produce an enum variant or struct, and allows capturing sections from the route to be incorporated into its associated variant or struct.

Modules§

  • Parser that consumes a string and produces the first representation of the matcher.

Structs§

Enums§

  • Variants that indicate how part of a string should be captured.
  • Indicates if the parser is working to create a matcher for a datastructure with named or unnamed fields.
  • Tokens used to determine how to match and capture sections from a URL.

Functions§

Type Aliases§

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