[][src]Module sval::fmt

Integration between sval and std::fmt.

Add the fmt feature to your Cargo.toml to enable this module:

[dependencies.sval]
features = ["fmt"]

From sval to std::fmt

A type that implements Value can be converted into a type that implements std::fmt::Debug:

let my_debug = sval::fmt::to_debug(my_value);

Structs

ToDebug

The result of calling sval::fmt::to_debug.

Functions

debug

Format a Value using the given Formatter.

to_debug

Convert a Value into a Debug.