[][src]Crate polymorph_allocator

A simple no_std memory allocator.

Structs

Allocator

Simple memory allocator

AllocatorRegionIterator

Iterator over the regions in an Allocator.

LockedAllocator

A locked Allocator, which can be used as #[global_allocator].

Region

Header of a memory region.

RegionFlags

Flags for a given memory region

Functions

align_down

Align an address downwards, returning the greatest X with alignment align so that x <= addr. The alignment must be a power of two.

align_up

Align an address upwards, returning the smallest X with alignment align so that x >= addr. The alignment must be a power of two.