Crate syntex_fmt_macros [−] [src]
Macro support for format strings
These structures are used when parsing format strings for the compiler.
Parsing does not happen at runtime: structures of
Representation of an argument specification.
Specification for the formatting of an argument in the format string.
The parser structure for interpreting the input format string. This is
modelled as an iterator over
Enum of alignments which are supported.
A count is used for the precision and width parameters of an integer, and can reference either an argument or a literal integer.
Various flags which can be applied to format strings. The meaning of these flags is defined by the formatters themselves.
A piece is a portion of the format string which represents the next part
to emit. These are emitted as a stream by the
Enum describing where an argument for a format can be located.