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