Function noneConst [src]
Prototype
pub fn noneConst(self: *Builder, ty: Type) Allocator.Error!Constant
Parameters
self: *Builder
ty: Type
Source
pub fn noneConst(self: *Builder, ty: Type) Allocator.Error!Constant {
try self.ensureUnusedConstantCapacity(1, NoExtra, 0);
return self.noneConstAssumeCapacity(ty);
}