Module kernel::fmt

source ·
Expand description

Formatting utilities.

This module is intended to be used in place of core::fmt in kernel code.

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.
  • The error type which is returned from formatting a message into a stream.
  • Configuration for formatting.

Traits§

  • ? formatting.
  • Format trait for an empty format, {}.
  • A trait for writing or formatting into Unicode-accepting buffers or streams.

Type Aliases§

  • The type returned by formatter methods.

Derive Macros§

  • Derive macro generating an impl of the trait Debug.