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