mycelium_util

Module fmt

Source
Expand description

Text formatting utilities.

Structs§

Enums§

Traits§

Functions§

  • Format the provided value using its core::fmt::Debug implementation, with “alternate mode” set
  • Format the provided value using its core::fmt::Binary implementation.
  • Formats a list of F-typed values to the provided writer, delimited with commas.
  • Wraps a type implementing fmt::Debug as a Value that can be recorded using its Debug implementation.
  • Wraps a type implementing fmt::Display as a Value that can be recorded using its Display implementation.
  • Format the provided value using its core::fmt::LowerHex implementation.
  • Borrows an Option as a FmtOption that formats the inner value if the Option is Some, or emits a customizable string if the Option is None.
  • Format the provided value using its core::fmt::Pointer implementation.
  • 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 function f.

Type Aliases§

  • The type returned by formatter methods.

Derive Macros§

  • Derive macro generating an impl of the trait Debug.