structstd.builtin.Type.Struct[src]

This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.

Fields

layout: ContainerLayout
backing_integer: ?type = null

Only valid if layout is .@"packed"

fields: []const StructField
decls: []const Declaration
is_tuple: bool

Source Code

Source code
pub const Struct = struct {
    layout: ContainerLayout,
    /// Only valid if layout is .@"packed"
    backing_integer: ?type = null,
    fields: []const StructField,
    decls: []const Declaration,
    is_tuple: bool,
}