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

Class TupleFieldContent

A tuple field belonging to either a variant or a struct.

Import path

import codeql.rust.dataflow.internal.Content

Direct supertypes

Indirect supertypes

Predicates

getAnAccess

Gets an access to this field.

getField

Gets the tuple field.

getLocation

Gets the location of this content.

isStructField

Holds if this field belongs to a struct.

isVariantField

Holds if this field belongs to an enum variant.

toString

Gets a textual representation of this content.

Charpred