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ยง

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.