Function allocator [src]
Prototype
 pub fn allocator(self: *ThreadSafeAllocator) Allocator  Parameters
self: *ThreadSafeAllocator Source
 pub fn allocator(self: *ThreadSafeAllocator) Allocator {
    return .{
        .ptr = self,
        .vtable = &.{
            .alloc = alloc,
            .resize = resize,
            .remap = remap,
            .free = free,
        },
    };
}