-
-
Notifications
You must be signed in to change notification settings - Fork 9
AnyFixedArrayType
IsaacShelton edited this page Mar 21, 2022
·
1 revision
AnyFixedArrayType
represents the type for runtime type information of fixed array types.
Type | Size | Memory Management Model | File |
---|---|---|---|
AnyFixedArrayType |
48 bytes | None | N/A |
struct AnyFixedArrayType (
struct AnyType,
subtype *AnyType,
length usize
)
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::FIXED_ARRAY ) |
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 whole type in bytes |
subtype |
*AnyType |
Element type | |
length |
usize |
Number of elements |
All *AnyFixedArrayType
values are also valid *AnyType
values