Module alloc::alloc 1.28.0[−][src]
Memory allocation APIs
Structs
AllocError | Experimental The |
Global | Experimental The global memory allocator. |
Layout | Layout of a block of memory. |
LayoutError | The parameters given to |
Traits
Allocator | Experimental An implementation of |
GlobalAlloc | A memory allocator that can be registered as the standard library’s default
through the |
Functions
alloc⚠ | Allocate memory with the global allocator. |
alloc_zeroed⚠ | Allocate zero-initialized memory with the global allocator. |
dealloc⚠ | Deallocate memory with the global allocator. |
handle_alloc_error | Abort on memory allocation error or failure. |
realloc⚠ | Reallocate memory with the global allocator. |
Type Definitions
LayoutErr | Deprecated |