Module alloc::alloc 1.28.0[−][src]
Memory allocation APIs
Re-exports
pub use core::alloc::*; |
Structs
| Global |
[ Experimental ] The global memory allocator. |
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. |
| oom |
Abort on memory allocation error or failure. |
| realloc⚠ |
Reallocate memory with the global allocator. |