evutils 0.1.1

Handy helper utilities for working with enum variants
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
Enum variant utils
==================

Handy utilities for working with Rust enums.


* VariantDef - automatically define a const struct to
  make metadata about your enum variants available in a consistent way
* IsVariant - quickly check if something is an instance of a specific variant
* VariantName - quickly get (just) the variant name
* VariantPropsToJsonArray - get the variants properties as a `Vec<serde_json::Value>`

More tools and detailed docs to follow soon.