Expand description
Utilities for formatting and printing strings.
Modules
- builders 🔒
- float 🔒
- macros 🔒
- num 🔒Integer and floating-point number formatting
- These are the lang items used by format_args!().
Macros
Structs
- This structure represents a safely precompiled version of a format string and its arguments. This cannot be generated at runtime because it cannot safely be done, so no constructors are given and the fields are private to prevent modification.
- A struct to help with
fmt::Debug
implementations. - A struct to help with
fmt::Debug
implementations. - A struct to help with
fmt::Debug
implementations. - A struct to help with
fmt::Debug
implementations. - A struct to help with
fmt::Debug
implementations. - The error type which is returned from formatting a message into a stream.
- Configuration for formatting.
- Padding after the end of something. Returned by
Formatter::padding
.
Enums
- Possible alignments returned by
Formatter::align
Traits
b
formatting.?
formatting.- Format trait for an empty format,
{}
. e
formatting.x
formatting.o
formatting.p
formatting.E
formatting.X
formatting.- A trait for writing or formatting into Unicode-accepting buffers or streams.
Functions
- getcount 🔒 ⚠
- Since the formatting will be identical for all pointer types, use a non-monomorphized implementation for the actual formatting to reduce the amount of codegen work needed.
- run 🔒 ⚠
- The
write
function takes an output stream, and anArguments
struct that can be precompiled with theformat_args!
macro.
Type Definitions
- The type returned by formatter methods.
Derive Macros
- Derive macro generating an impl of the trait
Debug
.