Module format_description

Source
Expand description

Description of how types should be formatted and parsed.

The formatted value will be output to the provided writer. Format descriptions can be well-known or obtained by using the format_description! macro or a function listed below.

For examples, see the implementors of Formattable, e.g. well_known::Rfc3339.

Modulesยง

borrowed_format_item ๐Ÿ”’
A format item with borrowed data.
component ๐Ÿ”’
Part of a format description.
modifier
Various modifiers for components.
owned_format_item ๐Ÿ”’
A format item with owned data.
parse ๐Ÿ”’
Parser for format descriptions.
well_known
Well-known formats, typically standards.

Enumsยง

BorrowedFormatItem
A complete description of how to format and parse a type.
Component
A component of a larger format description.
OwnedFormatItem
A complete description of how to format and parse a type.

Functionsยง

parse
Parse a sequence of items from the format description.
parse_borrowed
Parse a sequence of items from the format description.
parse_owned
Parse a sequence of items from the format description.
parse_strftime_borrowed
Parse a sequence of items from the strftime format description.
parse_strftime_owned
Parse a sequence of items from the strftime format description.