INTERNAL: Do not use. A struct pattern. For example:
match x {
Foo { a: 1, b: 2 } => "ok",
Foo { .. } => "fail",
}
Import path
import codeql.rust.elements.internal.generated.RawDirect supertypes
Indirect supertypes
Predicates
| getStructPatFieldList | Gets the struct pattern field list of this struct pattern, if it exists. |
| toString |
Inherited predicates
| getPath | Gets the path of this path ast node, if it exists. | from PathAstNode |