VariantEq
Equality of Enum Variants Ignoring Fields.
There are times when it is useful to define the equality of an enum with the variants, and ignore any fields that the variants might have.
Equality of Enum Variants Ignoring Fields.
There are times when it is useful to define the equality of an enum with the variants, and ignore any fields that the variants might have.