Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 10
AnyStructType
IsaacShelton edited this page Mar 21, 2022
·
1 revision
AnyStructType represents the type for runtime type information of struct types.
| Type | Size | Memory Management Model | File |
|---|---|---|---|
AnyStructType | 72 bytes | None | N/A |
struct AnyStructType (
struct AnyType,
members **AnyType,
length usize,
offsets *usize,
member_names **ubyte,
is_packed bool
)
where AnyType is defined as
struct AnyType (kind AnyTypeKind, name *ubyte, is_alias bool, size usize)
| Name | Overlaps AnyType | Type | Description |
|---|---|---|---|
kind | y | AnyTypeKind | What kind of type (AnyTypeKind::STRUCT) |
name | y | *ubyte | Human readable name of the type |
is_alias | y | bool | Whether the type is an alias |
size | y | usize | Size of the type in bytes |
members | **AnyType | Types of members | |
length | usize | Number of members | |
offsets | *usize | Offsets of members (in bytes) | |
member_names | **ubyte | Names of members | |
is_packed | bool | Whether struct is packed |
All *AnyStructType values are also valid *AnyType values