Movatterモバイル変換


[0]ホーム

URL:


Module fmt

core

Modulefmt 

1.6.0 ·Source
Expand description

Utilities for formatting and printing strings.

Structs§

Arguments
This structure represents a safely precompiled version of a format stringand its arguments. This cannot be generated at runtime because it cannotsafely be done, so no constructors are given and the fields are privateto prevent modification.
DebugList
A struct to help withfmt::Debug implementations.
DebugMap
A struct to help withfmt::Debug implementations.
DebugSet
A struct to help withfmt::Debug implementations.
DebugStruct
A struct to help withfmt::Debug implementations.
DebugTuple
A struct to help withfmt::Debug implementations.
Error
The error type which is returned from formatting a message into a stream.
Formatter
Configuration for formatting.
FromFn
Implementsfmt::Debug andfmt::Display via the provided closure.
FormattingOptionsExperimental
Options for formatting.
NumBufferExperimental
A buffer wrapper of which the internal size is based on the maximumnumber of digits the associated integer can have.

Enums§

Alignment
Possible alignments returned byFormatter::align
DebugAsHexExperimental
Specifies whether theDebug trait should use lower-/upper-casehexadecimal or normal integers.
SignExperimental
The signedness of aFormatter (or of aFormattingOptions).

Traits§

Binary
b formatting.
Debug
? formatting.
Display
Format trait for an empty format,{}.
LowerExp
e formatting.
LowerHex
x formatting.
Octal
o formatting.
Pointer
p formatting.
UpperExp
E formatting.
UpperHex
X formatting.
Write
A trait for writing or formatting into Unicode-accepting buffers or streams.
NumBufferTraitExperimental
Trait used to describe the maximum number of digits in decimal base of the implemented integer.

Functions§

from_fn
Creates a type whosefmt::Debug andfmt::Display impls areforwarded to the provided closure.
write
Takes an output stream and anArguments struct that can be precompiled withtheformat_args! macro.

Type Aliases§

Result
The type returned by formatter methods.

Derive Macros§

Debug
Derive macro generating an impl of the traitDebug.

[8]ページ先頭

©2009-2025 Movatter.jp