Expand description
Parses routes into enums or structs.
Structs§
- Allows a section to match, providing a None value, if its contents are entirely missing, or starts with a ‘/’.
- Wrapper that requires that an implementor of Switch must start with a
/
. - Successfully match even when the captured section can’t be found.
Traits§
- Derivable routing trait that allows instances of implementors to be constructed from Routes.
Type Aliases§
- Alias to Switch.