INTERNAL: Do not use. A variant in an enum declaration.
For example:
enum E { A, B(i32), C { x: i32 } }
// ^ ^^^^^^ ^^^^^^^^^^^^
Import path
import codeql.rust.elements.internal.generated.RawDirect supertypes
Indirect supertypes
Predicates
| getAttr | Gets the |
| getDiscriminant | Gets the discriminant of this variant, if it exists. |
| getFieldList | Gets the field list of this variant, if it exists. |
| getName | Gets the name of this variant, if it exists. |
| getNumberOfAttrs | Gets the number of attrs of this variant. |
| getVisibility | Gets the visibility of this variant, if it exists. |
| toString |