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

Class Raw::StructExprField

INTERNAL: Do not use. A field in a struct expression. For example a: 1 in:

Foo { a: 1, b: 2 };

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getExpr

Gets the expression of this struct expression field, if it exists.

getIdentifier

Gets the identifier of this struct expression field, if it exists.

getNumberOfAttrs

Gets the number of attrs of this struct expression field.

toString