Expand description
Macros§
- format
alloc
alloc
Creates a String using interpolation of runtime expressions. core
Constructs parameters for the other string-formatting macros.- Returns a formatted
str
slice backed by a buffer, non-allocating. core
Writes formatted data into a buffer.core
Writes formatted data into a buffer, with a newline appended.
Structs§
core
A struct to help withDebug
implementations.core
A struct to help withDebug
implementations.core
A struct to help withDebug
implementations.core
A struct to help withDebug
implementations.core
A struct to help withDebug
implementations.core
Represents a safely precompiled version of a format string and its arguments.- 🚩
core
The error type which is returned from formatting a message into a stream. core
Configuration for formatting.
Enums§
core
Possible alignments returned byFormatter::align
.
Traits§
core
b
formatting.core
?
formatting.core
Format trait for an empty format,{}
.core
e
formatting.core
x
formatting.- NumTo
Str fmt
Converts a number into a string representation, storing it into a byte slice. core
o
formatting.core
p
formatting.core
Writing or formatting into Unicode-accepting buffers or streams.core
E
formatting.core
X
formatting.
Functions§
- fmt_
format alloc
alloc
Takes anFmtArguments
struct and returns the resulting formatted string. core
Takes an output stream, and anFmtArguments
struct.- Returns a formatted
str
slice backed by a buffer, non-allocating.
Type Aliases§
- ⚖️ The type returned by formatter methods.
Derive Macros§
core
?
formatting.