pub struct Formatter<'a> { /* private fields */ }Expand description
Configuration for formatting.
A Formatter represents various options related to formatting. Users do not
construct Formatters directly; a mutable reference to one is passed to
the fmt method of all formatting traits, like Debug and Display.
To interact with a Formatter, you’ll call various methods to change the
various options related to formatting. For examples, please see the
documentation of the methods defined on Formatter below.