Function takeName [src]
Prototype
pub fn takeName(self: Index, other: Index, builder: *Builder) Allocator.Error!void
Parameters
self: Index
other: Index
builder: *Builder
Source
pub fn takeName(self: Index, other: Index, builder: *Builder) Allocator.Error!void {
try builder.ensureUnusedGlobalCapacity(.empty);
self.takeNameAssumeCapacity(other, builder);
}