Function metadataConstant [src]
Prototype
pub fn metadataConstant(self: *Builder, value: Constant) Allocator.Error!Metadata
Parameters
self: *Builder
value: Constant
Source
pub fn metadataConstant(self: *Builder, value: Constant) Allocator.Error!Metadata {
try self.ensureUnusedMetadataCapacity(1, NoExtra, 0);
return self.metadataConstantAssumeCapacity(value);
}