Structs§
Traits§
- AllVariants
Take NoParameters - May only be safely implemented for enums with:
Functions§
- enum_
iter enum_iter(Enum::FirstElement, Enum::LastElement)
returns an iterator through the different variants of the enum.T
must satisfyAllVariantsTakeNoParameters
, which pretty much just means you built a simple rust enum with no variant parameters and no manual assignment of integer mappings.