Function takeName [src]

Prototype

pub fn takeName(self: Index, other: Index, builder: *Builder) Allocator.Error!void

Parameters

self: Indexother: Indexbuilder: *Builder

Source

pub fn takeName(self: Index, other: Index, builder: *Builder) Allocator.Error!void { try builder.ensureUnusedGlobalCapacity(.empty); self.takeNameAssumeCapacity(other, builder); }