Available on crate feature
heap_ptr
only.Expand description
A pointer type for single value heap allocation.
Structs§
- A pointer type for single value heap allocation.
Functions§
- Returns an immutable reference to a heap object’s allocator.
- Creates a clone of a heap allocated object.
- Frees an instance of
NSTDHeapPtr
after invokingcallback
with the heap object’s data. - Frees an instance of
NSTDHeapPtr
. - Returns an immutable raw pointer to the object on the heap.
- Returns a raw pointer to the object on the heap.
- Creates a new initialized heap allocated object.
- Creates a new zero-initialized heap allocated object.
- Returns the size of the heap allocated object.
Type Aliases§
- Represents an optional value of type
NSTDHeapPtr
.