core::fmt - Rust (original) (raw)
Expand description
Utilities for formatting and printing strings.
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.
FormattingOptionsExperimental
Options for formatting.
FromFnExperimental
Implements fmt::Debug and fmt::Display using a function.
Possible alignments returned by Formatter::align
DebugAsHexExperimental
Specifies whether the Debug trait should use lower-/upper-case hexadecimal or normal integers.
SignExperimental
The signedness of a Formatter (or of a FormattingOptions).
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.
Takes an output stream and an Arguments
struct that can be precompiled with the format_args!
macro.
from_fnExperimental
Creates a type whose fmt::Debug and fmt::Display impls are provided with the functionf
.
The type returned by formatter methods.
Derive macro generating an impl of the trait Debug
.