viking_macros 0.3.2

Helpful macros
Documentation

Viking Macros

GitHub License Crates.io Version docs.rs

Available Derive Macros

  • [EnumDisplay]: Adds the Display trait to enums and can modify their string representation using helper attributes.
  • [derive@EnumVec]: Implements the trait [trait@EnumVec], by adding all enum variants to a [Vec].