Expand description
Formatting utilities.
This module is intended to be used in place of core::fmt in kernel code.
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.
- Error
- The error type which is returned from formatting a message into a stream.
- Formatter
- Configuration for formatting.
Traits§
- Debug
- ?formatting.
- Display
- A copy of core::fmt::Displaythat allows us to implement it for foreign types.
- Write
- A trait for writing or formatting into Unicode-accepting buffers or streams.
Type Aliases§
- Result
- The type returned by formatter methods.
Derive Macros§
- Debug
- Derive macro generating an impl of the trait Debug.