#[derive(DisplayDebug)]
Expand description
A procedural macro that implements the std::fmt::Display
trait for a type,
using the standard 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
function to generate
the implementation with the standard 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 standard debug format.