-
-
Notifications
You must be signed in to change notification settings - Fork 9
AnyUnionType
IsaacShelton edited this page Mar 21, 2022
·
1 revision
AnyUnionType
represents the type for runtime type information of union types.
Type | Size | Memory Management Model | File |
---|---|---|---|
AnyUnionType |
56 bytes | None | N/A |
struct AnyUnionType (
struct AnyType,
members **AnyType,
length usize,
member_names **ubyte,
)
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::UNION ) |
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 | |
member_names |
**ubyte |
Names of members |
All *AnyUnionType
values are also valid *AnyType
values