enum_default 0.2.6

DEPRECATED PLEASE SEE: https://rust-lang.github.io/rfcs/3107-derive-default-enum.html ---------------------------------------------------------------------------------------- enum_default provides an EnumDefault derive macro that provides a std::Default implementation for Enums by using the first value or specifying a #[default] attribute
Documentation

enum_default

** THIS CRATE IS DEPRECATED PLEASE USE: https://rust-lang.github.io/rfcs/3107-derive-default-enum.html **

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