yew_router_route_parser

Function parse_str_and_optimize_tokens

Source
pub fn parse_str_and_optimize_tokens(
    i: &str,
    field_naming_scheme: FieldNamingScheme,
) -> Result<Vec<MatcherToken>, PrettyParseError<'_>>
Expand description

Parse the provided “matcher string” and then optimize the tokens.