gix_trace::field

Function display

source
pub fn display<T>(t: T) -> DisplayValue<T>
where T: Display,
Available on crate feature tracing only.
Expand description

Wraps a type implementing fmt::Display as a Value that can be recorded using its Display implementation.