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

Class Raw::TupleField

INTERNAL: Do not use. A field 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

getAttr

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

getNumberOfAttrs

Gets the number of attrs of this tuple field.

getTypeRepr

Gets the type representation of this tuple field, if it exists.

getVisibility

Gets the visibility of this tuple field, if it exists.

toString