pub fn replace(self: Index, other: Index, builder: *Builder) Allocator.Error!void
self: Index
other: Index
builder: *Builder
3395 3396 3397 3398
pub fn replace(self: Index, other: Index, builder: *Builder) Allocator.Error!void { try builder.ensureUnusedGlobalCapacity(.empty); self.replaceAssumeCapacity(other, builder); }