Class Raw::StructField
INTERNAL: Do not use. A field in a struct declaration.
For example:
struct S { x: i32 }
// ^^^^^^^
Import path
import codeql.rust.elements.internal.generated.RawDirect supertypes
Indirect supertypes
Predicates
| getAttr | Gets the |
| getDefault | Gets the default of this struct field, if it exists. |
| getName | Gets the name of this struct field, if it exists. |
| getNumberOfAttrs | Gets the number of attrs of this struct field. |
| getTypeRepr | Gets the type representation of this struct field, if it exists. |
| getVisibility | Gets the visibility of this struct field, if it exists. |
| isUnsafe | Holds if this struct field is unsafe. |
| toString |