Struct fmt_macros::FormatSpec[src]
pub struct FormatSpec<'a> {
pub fill: Option<char>,
pub align: Alignment,
pub flags: uint,
pub precision: Count<'a>,
pub width: Count<'a>,
pub ty: &'a str,
}Specification for the formatting of an argument in the format string.
Fields
fill | Optionally specified character to fill alignment with |
align | Optionally specified alignment |
flags | Packed version of various flags provided |
precision | The integer precision to use |
width | The string width requested for the resulting format |
ty | The descriptor string representing the name of the format desired for this argument, this can be empty or any number of characters, although it is required to be one word. |