time::format_description::parse

Module lexer

Source
Available on (crate features formatting or parsing) and crate feature alloc only.
Expand description

Lexer for parsing format descriptions.

Structsยง

  • Lexed ๐Ÿ”’
    An iterator over the lexed tokens.

Enumsยง

  • BracketKind ๐Ÿ”’
    What type of bracket is present.
  • ComponentKind ๐Ÿ”’
    Indicates whether the component is whitespace or not.
  • Token ๐Ÿ”’
    A token emitted by the lexer. There is no semantic meaning at this stage.

Functionsยง

  • lex ๐Ÿ”’
    Parse the string into a series of Tokens.