struct EnumVariant<T> { ... }

Enum variant descriptor.

This struct provides compile-time reflection information about a variant of an enum.

It is created by calling variants on an enum type.

Example

Methods

impl EnumVariant<T> { ... }