Module output

Source
Expand description

Various ways to output formatting data.

Structs§

VaListDisplay
Helper struct created by display for safely printing printf-style formatting with format! and {}. This can be used with anything that uses format_args!, such as println! or the log crate.

Functions§

display
Returns an object that implements Display for safely printing formatting data. This is slightly less performant than using fmt_write, but may be the only option.
fmt_write
Write to a struct that implements fmt::Write.
io_write
Write to a struct that implements io::Write.