Expand description
Prelude module for allocator API types.
This module centralizes the conditional imports for allocator-related types, allowing the rest of the crate to use consistent types regardless of whether the nightly feature is enabled or not.
Structs§
- Alloc
Error - The
AllocError
error indicates an allocation failure that may be due to resource exhaustion or to something wrong when combining the given input arguments with this allocator. - Global
- The global memory allocator.
- Layout
- Layout of a block of memory.