#[derive(DisplayDebugFormat)]
Expand description
A procedural macro that implements the std::fmt::Display
trait for a type,
using the detailed debug format ({:#?}
) for formatting.
This macro derives the Display
implementation for a type, allowing it to be formatted
using {:#?}
in formatting macros. It uses the inner_display_debug_format
function
to generate the implementation with the detailed debug format.
§Parameters
input
: The input token stream representing the Rust item (struct, enum, etc.) for which theDisplay
implementation will be generated.
§Returns
TokenStream
: The generatedstd::fmt::Display
implementation for the type using the detailed debug format.