# Module core::fmt 1.0.0 [−] [src]

Utilities for formatting and printing strings.

## 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.
DebugList | A struct to help with `fmt::Debug` implementations.
DebugMap | A struct to help with `fmt::Debug` implementations.
DebugSet | A struct to help with `fmt::Debug` implementations.
DebugStruct | A struct to help with `fmt::Debug` implementations.
DebugTuple | A struct to help with `fmt::Debug` implementations.
Error | The error type which is returned from formatting a message into a stream.
Formatter | A struct to represent both where to emit formatting strings to and how they should be formatted. A mutable version of this is passed to all formatting traits.

## Enums

Alignment | [ Experimental ] Possible alignments returned by `Formatter::align`

## 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 collection of methods that are required to format a message into a stream.

## Functions

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

## Type Definitions

Result | The type returned by formatter methods.

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
↑
  Move up in search results
↓
  Move down in search results
↹
  Switch tab
⏎
  Go to active search result
+ / -
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)