Macro rust_utils::new_default
source ยท macro_rules! new_default { ($type:ident) => { ... }; ($type:ident<$($generic:ident), *>) => { ... }; }
Expand description
A macro that implements Default
for a type if its inherent implementation has a Self::new() -> Self
method