codeql/rust-all
0.2.6
For other CodeQL resources, including tutorials and examples, see the CodeQL documentation
.
INTERNAL: This module contains the customizable definition of StructPat and should not be referenced directly.
StructPat
import codeql.rust.elements.internal.StructPatImpl
A struct pattern. For example: rust match x { Foo { a: 1, b: 2 } => "ok", Foo { .. } => "fail", }
rust match x { Foo { a: 1, b: 2 } => "ok", Foo { .. } => "fail", }