| Crates.io | enum-tryfrom |
| lib.rs | enum-tryfrom |
| version | 0.2.1 |
| created_at | 2017-05-31 20:07:30.470309+00 |
| updated_at | 2018-04-16 10:45:35.297105+00 |
| description | Error types and traits for use with enum-tryfrom-derive |
| homepage | |
| repository | https://github.com/kwohlfahrt/enum-tryfrom |
| max_upload_size | |
| id | 17117 |
| size | 7,260 |
A crate to derive the TryFrom trait on enums using procedural macros.
Expect frequent breakage for now.
This adds the ability to #[derive(TryFromPrimitive)], which in combination
with one (well zero, but that's not useful) or more
#[FromPrimitiveType="type"] attributes lets you automatically derive
TryFrom<type> for enum types.
Detailed documentation can be generated with cargo doc.