Expand description
Treat any sval::Value
as a core::fmt::Debug
.
This crate provides ToFmt
, a wrapper around any sval::Value
that formats it using the same output that you’d get if you
derived core::fmt::Debug
.
Modules
- Tags for fragments of formatted values.
Structs
- Adapt a
fmt::Debug
into ansval::Value
. - Adapt a
fmt::Display
into ansval::Value
.
Traits
- A token-aware
fmt::Write
.
Functions
- Stream a
fmt::Debug
into ansval::Stream
. - Stream a
fmt::Display
into ansval::Stream
. - Format a value into an underlying formatter.
- Format a value into a string.
- Format a value into an underlying token-aware formatter.
- Format a value into an underlying formatter.