devela::text

Module fmt

Source
Expand description

Formatting strings.

Extends: std::{fmt}


Macros§

  • formatalloc
    alloc Creates a String using interpolation of runtime expressions.
  • core Constructs parameters for the other string-formatting macros.
  • Returns a formatted str slice backed by a buffer, non-allocating.
  • core Writes formatted data into a buffer.
  • core Writes formatted data into a buffer, with a newline appended.

Structs§

  • core A struct to help with Debug implementations.
  • core A struct to help with Debug implementations.
  • core A struct to help with Debug implementations.
  • core A struct to help with Debug implementations.
  • core A struct to help with Debug implementations.
  • core Represents a safely precompiled version of a format string and its arguments.
  • 🚩 core The error type which is returned from formatting a message into a stream.
  • core Configuration for formatting.

Enums§

  • core Possible alignments returned by Formatter::align.

Traits§

  • core b formatting.
  • core ? formatting.
  • core Format trait for an empty format, {}.
  • core e formatting.
  • core x formatting.
  • Converts a number into a string representation, storing it into a byte slice.
  • core o formatting.
  • core p formatting.
  • core Writing or formatting into Unicode-accepting buffers or streams.
  • core E formatting.
  • core X formatting.

Functions§

Type Aliases§

  • ⚖️ The type returned by formatter methods.

Derive Macros§