| Crates.io | enum_default |
| lib.rs | enum_default |
| version | 0.2.6 |
| created_at | 2020-07-19 23:46:25.874228+00 |
| updated_at | 2023-02-20 04:56:16.229015+00 |
| description | 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 |
| homepage | |
| repository | https://github.com/ozkar99/enum_default |
| max_upload_size | |
| id | 267052 |
| size | 8,246 |
** 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