Module kernel::fmt

source ยท

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.
  • DebugPtr ๐Ÿ”’
  • 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 ๐Ÿ”’
    Configuration for formatting.
  • FormatterFn ๐Ÿ”’ Experimental
    Implements fmt::Debug and fmt::Display using a function.

Enumsยง

  • Alignment ๐Ÿ”’
    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 trait for writing or formatting into Unicode-accepting buffers or streams.

Functionsยง

  • ptr ๐Ÿ”’
  • write ๐Ÿ”’
    Takes an output stream and an Arguments struct that can be precompiled with the format_args! macro.

Type Aliasesยง

  • Result ๐Ÿ”’
    The type returned by formatter methods.

Derive Macrosยง

  • Debug ๐Ÿ”’
    Derive macro generating an impl of the trait Debug.