pub fn structType( self: *Builder, kind: Type.Structure.Kind, fields: []const Type, ) Allocator.Error!Type
self: *Builder
kind: Type.Structure.Kind
fields: []const Type
10159 10160 10161 10162 10163 10164 10165 10166 10167 10168
pub fn structType( self: *Builder, kind: Type.Structure.Kind, fields: []const Type, ) Allocator.Error!Type { try self.ensureUnusedTypeCapacity(1, Type.Structure, fields.len); switch (kind) { inline else => |comptime_kind| return self.structTypeAssumeCapacity(comptime_kind, fields), } }