Function metadataConstant [src]

Prototype

pub fn metadataConstant(self: *Builder, value: Constant) Allocator.Error!Metadata

Parameters

self: *Buildervalue: Constant

Source

pub fn metadataConstant(self: *Builder, value: Constant) Allocator.Error!Metadata { try self.ensureUnusedMetadataCapacity(1, NoExtra, 0); return self.metadataConstantAssumeCapacity(value); }