Function doubleConst [src]
Prototype
pub fn doubleConst(self: *Builder, val: f64) Allocator.Error!Constant Parameters
self: *Builderval: f64 Source
pub fn doubleConst(self: *Builder, val: f64) Allocator.Error!Constant {
try self.ensureUnusedConstantCapacity(1, Constant.Double, 0);
return self.doubleConstAssumeCapacity(val);
}