Module rt_format::parser [−][src]
Expand description
Provides support for parsing typical Rust formatting strings.
The parser supports all of the features of the formatting strings that are normally passed to
the format!
macro, except for the fill character.
Structs
An iterator of Segment
s that correspond to the parts of the formatting string being parsed.
Traits
A type conversion into usize
that might fail, similar to TryInto
. Does not consume self
.
A source of values to use when parsing the formatting string.
Functions
Parses only the format specifier portion of a format argument. For example, in a format argument specification “{foo:#X}”, this function would parse only the “#X” part.