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

Module Impl

INTERNAL: This module contains the customizable definition of StructPat and should not be referenced directly.

Import path

import codeql.rust.elements.internal.StructPatImpl

Classes

StructPat

A struct pattern. For example: rust match x { Foo { a: 1, b: 2 } => "ok", Foo { .. } => "fail", }