Crate enum_procs

source ·

Derive Macros§

  • Derive macro generating an impl of the trait From for all types inside tuple variants with one type
  • Derive macro generating an impl of the trait PartialEq that compare enum only by variant Enum::Variant(value) == Enum::Variant(other_value) => true