pub const StructDecl = struct fields_hash_0: u32These fields should be concatenated and reinterpreted as a std.zig.SrcHash. This hash contains the source of all fields, and any specified attributes (extern, backing type, etc).
fields_hash_1: u32fields_hash_2: u32fields_hash_3: u32src_line: u32src_column: u32src_node: Ast.Node.IndexThis node provides a new absolute baseline node for all instructions within this struct.
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533 pub const StructDecl = struct {
// These fields should be concatenated and reinterpreted as a `std.zig.SrcHash`.
// This hash contains the source of all fields, and any specified attributes (`extern`, backing type, etc).
fields_hash_0: u32,
fields_hash_1: u32,
fields_hash_2: u32,
fields_hash_3: u32,
src_line: u32,
src_column: u32,
/// This node provides a new absolute baseline node for all instructions within this struct.
src_node: Ast.Node.Index,
pub const Small = packed struct(u16) {
has_captures_len: bool,
has_decls_len: bool,
has_fields_len: bool,
name_strategy: NameStrategy,
layout: std.lang.Type.ContainerLayout,
/// Always `false` if `layout != .@"packed"`.
has_backing_int_type: bool,
any_field_aligns: bool,
any_field_defaults: bool,
any_comptime_fields: bool,
_: u5 = 0,
};
}
Trailing:
has_captures_lenhas_decls_lenhas_fields_lenhas_backing_intcaptures_lencaptures_lendecls_len; points to adeclarationinstructionfields_lenfields_lenfields_lenifany_field_alignsfields_lenifany_field_defaultsfields_lenifany_comptime_fields// LSB is first field, minimum number ofu32neededbacking_int_body_len