Class Raw::StructExprField
INTERNAL: Do not use.
A field in a struct expression. For example a: 1 in:
Foo { a: 1, b: 2 };
Import path
import codeql.rust.elements.internal.generated.RawDirect supertypes
Indirect supertypes
Predicates
| getAttr | Gets the |
| getExpr | Gets the expression of this struct expression field, if it exists. |
| getIdentifier | Gets the identifier of this struct expression field, if it exists. |
| getNumberOfAttrs | Gets the number of attrs of this struct expression field. |
| toString |