enum_default
Simple crate that provides a std::Default implementation for enums by using the first item.
or you can override the default paramaters with the #[default]
attribute.
check the example
Simple crate that provides a std::Default implementation for enums by using the first item.
or you can override the default paramaters with the #[default]
attribute.
check the example
MIT License