pub fn vectorType( self: *Builder, kind: Type.Vector.Kind, len: u32, child: Type, ) Allocator.Error!Type
self: *Builder
kind: Type.Vector.Kind
len: u32
child: Type
10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151
pub fn vectorType( self: *Builder, kind: Type.Vector.Kind, len: u32, child: Type, ) Allocator.Error!Type { try self.ensureUnusedTypeCapacity(1, Type.Vector, 0); switch (kind) { inline else => |comptime_kind| return self.vectorTypeAssumeCapacity(comptime_kind, len, child), } }