[−][src]Module af_lib::fmt
Formatting utilities.
Macros
Debug | Derive macro generating an impl of the trait |
Structs
Arguments | 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. |
Counted | Displays a correctly pluralized count of something, for example |
DebugList | A struct to help with |
DebugMap | A struct to help with |
DebugSet | A struct to help with |
DebugStruct | A struct to help with |
DebugTuple | A struct to help with |
Error | The error type which is returned from formatting a message into a stream. |
Formatter | Configuration for formatting. |
Indented | A wrapper returned from |
IndentedFormatter | A formatter that automatically indents lines. |
Surrounded | A wrapper returned from |
Enums
Alignment | Possible alignments returned by |
Traits
Binary |
|
Debug |
|
Display | Format trait for an empty format, |
LowerExp |
|
LowerHex |
|
Octal |
|
Pointer |
|
UpperExp |
|
UpperHex |
|
Write | A trait for writing or formatting into Unicode-accepting buffers or streams. |
Functions
count | Displays a correctly pluralized count of something, for example |
format | The |
indent | Wraps the value so that it is displayed with the given initial and hanging indentation. |
surround | Wraps a value so that it displays with the given prefix and suffix strings. |
write | The |
Type Definitions
Result | The type returned by formatter methods. |