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

Class Raw::StructExpr

INTERNAL: Do not use. A struct expression. For example:

let first = Foo { a: 1, b: 2 };
let second = Foo { a: 2, ..first };
let n = Foo { a: 1, b: 2 }.b;
Foo { a: m, .. } = second;

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getStructExprFieldList

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

toString

Inherited predicates

getPath

Gets the path of this path ast node, if it exists.

from PathAstNode