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

Class Raw::TupleFieldList

INTERNAL: Do not use. A list of fields in a tuple struct or tuple variant.

For example:

struct S(i32, String);
//      ^^^^^^^^^^^^^

Import path

import codeql.rust.elements.internal.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getField

Gets the indexth field of this tuple field list (0-based).

getNumberOfFields

Gets the number of fields of this tuple field list.

toString