Crate memapi

Source
Expand description

memapi provides a minimal, no_std-friendly memory allocation interface for managing raw buffers, suitable for use in collections.

Modules§

alloc_ext
Allocator abstractions.
alloc_slice
Slice-specific allocator abstractions.
error
Errors which can occur during allocation.
ffi
FFI bindings to allocation libraries.
helpers
Helpers which tend to be useful in other libraries as well.
in_place
Reallocation in-place.
jemalloc
Module for jemalloc support.
marker
Marker traits.
mimalloc
Module for mimalloc support.
owned
Owned data types.
stats
Allocation statistic gathering and reporting.
type_props
Sized type properties as constants and property getters for pointers.
unstable_util
Small alternatives to Rust functions which are currently unstable.

Structs§

DefaultAlloc
Default allocator, delegating to the global allocator.

Traits§

Alloc
A memory allocation interface.
AllocExt
Extension methods for the core Alloc trait, providing convenient routines to allocate, initialize, clone, copy, and deallocate sized and unsized types.
ResizeInPlace
Extension trait for Alloc which provides interfaces to reallocate in-place.