impl_debug

Macro impl_debug 

Source
macro_rules! impl_debug {
    ($ty:ty) => { ... };
}
Expand description

Implements a basic Debug trait for types using their type name.

This macro generates a Debug implementation that simply prints the type name, useful for types where the internal structure doesn’t need to be exposed.