Mojo module
format
Implements a formatter abstraction for objects that can format themselves to a string.
Structsβ
- β
Formatter
: AFormatter
is used by types implementing theFormattable
trait to write bytes to the underlying formatter output buffer or stream.
Traitsβ
- β
Formattable
: TheFormattable
trait describes a type that can be converted to a stream of UTF-8 encoded data by writing to a formatter object. - β
ToFormatter
: TheToFormatter
trait describes a type that can be written to by aFormatter
object.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
π What went wrong?