evutils-macros 0.1.0

Handy helper utilities for working with enum variants
Documentation

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

More tools and detailed docs to follow soon.