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

Class Raw::OffsetOfExpr

INTERNAL: Do not use. An offset_of expression. For example:

builtin # offset_of(Struct, field);

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

Gets the indexth attr of this offset of expression (0-based).

getField

Gets the indexth field of this offset of expression (0-based).

getNumberOfAttrs

Gets the number of attrs of this offset of expression.

getNumberOfFields

Gets the number of fields of this offset of expression.

getTypeRepr

Gets the type representation of this offset of expression, if it exists.

toString