| Crates.io | enum_unwrapper |
| lib.rs | enum_unwrapper |
| version | 0.1.2 |
| created_at | 2023-08-03 20:18:15.143675+00 |
| updated_at | 2023-08-04 01:23:18.183749+00 |
| description | Small library for easily converting from user-defined enumerations to the types in the enumeration variants |
| homepage | |
| repository | https://github.com/script-mouse/enum_unwrapper |
| max_upload_size | |
| id | 934369 |
| size | 6,264 |
This is a library designed to ease the process of "unwrapping" enums to access the data within. After attaching the attribute #[unique_try_froms] to an enum definition, checked conversion through try_from is possible to any unique value type in the enum. For more information, check this library's documentation below.