Macrosยง
- ascii_
tab_ ๐or_ new_ line_ pattern - simple_
enum_ ๐error - syntax_
violation_ ๐enum
Structsยง
Enumsยง
- Context
- Parse
Error - Errors that can occur during parsing.
- Scheme
Type - Syntax
Violation - Non-fatal syntax violations that can occur during parsing.
Constantsยง
- FRAGMENT ๐
- https://url.spec.whatwg.org/#fragment-percent-encode-set
- PATH ๐
- https://url.spec.whatwg.org/#path-percent-encode-set
- PATH_
SEGMENT ๐ - QUERY ๐
- SPECIAL_
PATH_ ๐SEGMENT - SPECIAL_
QUERY ๐ - USERINFO ๐
- https://url.spec.whatwg.org/#userinfo-percent-encode-set
Traitsยง
Functionsยง
- ascii_
alpha - https://url.spec.whatwg.org/#ascii-alpha
- ascii_
tab_ ๐or_ new_ line - https://infra.spec.whatwg.org/#ascii-tab-or-newline
- c0_
control_ ๐or_ space - https://url.spec.whatwg.org/#c0-controls-and-space
- check_
url_ ๐code_ point - default_
port - fast_
u16_ ๐to_ str - is_
normalized_ ๐windows_ drive_ letter - is_
url_ ๐code_ point - is_
windows_ drive_ letter - Whether the scheme is file:, the path has a single segment, and that segment is a Windows drive letter
- path_
starts_ ๐with_ windows_ drive_ letter - Whether path starts with a root slash and a windows drive letter eg: โ/c:โ or โ/a:/โ
- starts_
with_ ๐windows_ drive_ letter - starts_
with_ ๐windows_ drive_ letter_ segment - https://url.spec.whatwg.org/#start-with-a-windows-drive-letter
- to_u32