Unparse the T into a path fragment.
Unparse the T into a path fragment.
This must be the reverse operation for unapply.
The T to be represented as a path fragment.
The string representation of t.
Return a regular expression fragment that can be used to match a T in a path expression.
Return a regular expression fragment that can be used to match a T in a path expression.
The returned fragment must not declare any groups. Use non-grouping parens (?:...).
A regular expression fragment to be used to match T in a path fragment.
Parse the path fragment given into a T, if possible.
Parse the path fragment given into a T, if possible.
Returning None will cause the next route entry to be considered.
The path fragment to be parsed
Some(t) if the given path fragment is the string representation of t, None otherwise.
Type class for things that can be converted to and from path fragments.