std › heap › ThreadSafeAllocator › allocatorallocatorFunction parametersParameters#self:*ThreadSafeAllocatorFunctions in this namespaceFunctions#allocatorSourceImplementation#pub fn allocator(self: *ThreadSafeAllocator) Allocator { return .{ .ptr = self, .vtable = &.{ .alloc = alloc, .resize = resize, .remap = remap, .free = free, }, }; }
pub fn allocator(self: *ThreadSafeAllocator) Allocator { return .{ .ptr = self, .vtable = &.{ .alloc = alloc, .resize = resize, .remap = remap, .free = free, }, }; }