Derive Macro Tag

Source
#[derive(Tag)]
Expand description

Procedural macro that generates the companion tag-enum and implements [TaggedEnum] trait for the given enum

ยงExample

use enum_tags::*;
#[derive(Tag)]
enum MyEnum {
	A,
	B,
	C,
}