Module core::fmt

1.0.0 · source · []
Expand description

Utilities for formatting and printing strings.

Macros

Derive macro generating an impl of the trait Debug.

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.

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

The write function takes an output stream, and an Arguments struct that can be precompiled with the format_args! macro.

Type Definitions

The type returned by formatter methods.