enum_unwrapper

Crates.ioenum_unwrapper
lib.rsenum_unwrapper
version0.1.2
sourcesrc
created_at2023-08-03 20:18:15.143675
updated_at2023-08-04 01:23:18.183749
descriptionSmall library for easily converting from user-defined enumerations to the types in the enumeration variants
homepage
repositoryhttps://github.com/script-mouse/enum_unwrapper
max_upload_size
id934369
size6,264
(script-mouse)

documentation

README

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.

Commit count: 9

cargo fmt