Function floatConst [src]
Prototype
pub fn floatConst(self: *Builder, val: f32) Allocator.Error!Constant Parameters
self: *Builderval: f32 Source
pub fn floatConst(self: *Builder, val: f32) Allocator.Error!Constant {
try self.ensureUnusedConstantCapacity(1, NoExtra, 0);
return self.floatConstAssumeCapacity(val);
}