Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Aug 2, 2023. It is now read-only.
This repository was archived by the owner on Aug 2, 2023. It is now read-only.
There was an error while loading. Please reload this page.
What is the purpose is this type? It seems to always cast the variant to
Invalidas well as just punting on mutation to the primitive value within the original variants.In the example, the mutator does not only mutate between the provided variants, it passes a
u32to mutate and wraps the result inUnstableEnum::Invalid(u32). Which isn't what I would expect from an Enum mutation except for maybe very rarely (like ignoring tags).