INTERNAL: Do not use. An enum declaration.
For example:
enum E {A, B(i32), C {x: i32}}
Import path
import codeql.rust.elements.internal.generated.RawIndirect supertypes
Predicates
| getVariantList | Gets the variant list of this enum, if it exists. |
| toString |
Inherited predicates
| getAttr | Gets the | from TypeItem |
| getAttributeMacroExpansion | Gets the attribute macro expansion of this item, if it exists. | from Item |
| getDeriveMacroExpansion | Gets the | from TypeItem |
| getGenericParamList | Gets the generic parameter list of this type item, if it exists. | from TypeItem |
| getName | Gets the name of this type item, if it exists. | from TypeItem |
| getNumberOfAttrs | Gets the number of attrs of this type item. | from TypeItem |
| getNumberOfDeriveMacroExpansions | Gets the number of derive macro expansions of this type item. | from TypeItem |
| getVisibility | Gets the visibility of this type item, if it exists. | from TypeItem |
| getWhereClause | Gets the where clause of this type item, if it exists. | from TypeItem |