CodeQL library for Rust
codeql/rust-all 0.2.5-dev (changelog, source)
Search

Module Generated

INTERNAL: This module contains the fully generated definition of StructPatField and should not be referenced directly.

Import path

import codeql.rust.elements.internal.generated.StructPatField

Classes

StructPatField

A field in a struct pattern. For example a: 1 in: rust let Foo { a: 1, b: 2 } = foo; INTERNAL: Do not reference the Generated::StructPatField class directly. Use the subclass StructPatField, where the following predicates are available.