This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
Fields
size: Size,
is_const: bool,
is_volatile: bool,
alignment: comptime_int,
TODO make this u16 instead of comptime_int
address_space: AddressSpace,
child: type,
is_allowzero: bool,
sentinel: ?*const anyopaque,
The type of the sentinel is the element type of the pointer, which is the value of the child
field in this struct. However there is no way to refer to that type here, so we use pointer to anyopaque
.