Macro governance_os_support::impl_enum_default [−][src]
macro_rules! impl_enum_default { ($target:ident, $default:ident) => { ... }; }
Use this macro to easily implement Default
for a given enum. This avoids
having to type the same code everytime.