Function ownsPtr [src]

Prototype

pub fn ownsPtr(self: *FixedBufferAllocator, ptr: [*]u8) bool

Parameters

self: *FixedBufferAllocatorptr: [*]u8

Source

pub fn ownsPtr(self: *FixedBufferAllocator, ptr: [*]u8) bool { return sliceContainsPtr(self.buffer, ptr); }