[][src]Crate bump_into

Macros

space

Creates an uninitialized array of MaybeUninit on the stack, suitable for taking a slice of to pass into BumpInto::from_slice.

space_aligned

Creates an uninitialized single MaybeUninit on the stack, with the given capacity and alignment, suitable for passing into BumpInto::from_single.

space_zeroed

Creates a zeroed array of MaybeUninit on the stack, suitable for taking a slice of to pass into BumpInto::from_slice.

space_zeroed_aligned

Creates a zeroed single MaybeUninit on the stack, with the given capacity and alignment, suitable for passing into BumpInto::from_single.

Structs

AlignOf

A zero-sized struct that becomes core::mem::align_of::<T>() when converted using Into<usize>.

BumpInto

A bump allocator over an arbitrary region of memory.

SizeOf

A zero-sized struct that becomes core::mem::size_of::<T>() when converted using Into<usize>.