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 TupleStructPat and should not be referenced directly.

Import path

import codeql.rust.elements.internal.generated.TupleStructPat

Classes

TupleStructPat

A tuple struct pattern. For example: rust match x { Tuple("a", 1, 2, 3) => "great", Tuple(.., 3) => "fine", Tuple(..) => "fail", }; INTERNAL: Do not reference the Generated::TupleStructPat class directly. Use the subclass TupleStructPat, where the following predicates are available.