[][src]Module ohm::allocator

Memory allocator interface

Re-exports

pub use self::hybrid::HybridAllocation;
pub use self::hybrid::HybridAllocator;

Modules

chunk

Allocator working with chunks of predefined size.

hybrid

Not very smart hybrid allocator

passthrough

A dumb allocator making a separate allocation for each resource.

Structs

AllocationSpec

Specification of a new allocation

Enums

AllocationError

Error that can occur during memory allocation.

Hint

Allocator hint to distribute chunks in a more optimal way.

Traits

Allocation

Trait implemented by memory chunks returned from the allocator.

Allocator

Memory allocator