pub fn allocator(self: *FailingAllocator) mem.Allocator
self: *FailingAllocator
46 47 48 49 50 51 52 53 54 55 56
pub fn allocator(self: *FailingAllocator) mem.Allocator { return .{ .ptr = self, .vtable = &.{ .alloc = alloc, .resize = resize, .remap = remap, .free = free, }, }; }