Module time::format_description::parse
source ยท Expand description
Parser for format descriptions.
Modulesยง
- ast ๐AST for parsing format descriptions.
- format_item ๐Typed, validated representation of a parsed format description.
- lexer ๐Lexer for parsing format descriptions.
Macrosยง
- validate_version ๐A helper macro to statically validate the version (when used as a const parameter).
- version ๐A helper macro to make version restrictions simpler to read and write.
Structsยง
- Error ๐A complete error description.
- ErrorInner ๐The internal error type.
- Location ๐A location within a string.
- Span ๐A start and end point within a string.
- Spanned ๐A value with an associated
Span
. - Unused ๐A value that may be used in the future, but currently is not.
- Version ๐A struct that is used to ensure that the version is valid.
Traitsยง
- SpannedValue ๐Helper trait to attach a
Span
to a value.
Functionsยง
- Parse a sequence of items from the format description.
- Parse a sequence of items from the format description.
- Parse a sequence of items from the format description.
- unused ๐Indicate that a value is currently unused.