Module parser

Source

Macrosยง

ascii_tab_or_new_line_pattern ๐Ÿ”’
simple_enum_error ๐Ÿ”’
syntax_violation_enum ๐Ÿ”’

Structsยง

Input
Parser

Enumsยง

Context
ParseError
Errors that can occur during parsing.
SchemeType
SyntaxViolation
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ยง

Pattern

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

Type Aliasesยง

ParseResult