[][src]Module rg3d_sound::pool

Structs

ErasedHandle

Type-erased handle.

Handle

Handle is some sort of non-owning reference to content in a pool. It stores index of object and additional information that allows to ensure that handle is still valid (points to the same object as when handle was created).

Pool

Pool allows to create as many objects as you want in contiguous memory block. It allows to create and delete objects much faster than if they'll be allocated on heap. Also since objects stored in contiguous memory block they can be effectively accessed because such memory layout if cache-friendly.

PoolIterator
PoolIteratorMut
PoolPairIterator
PoolPairIteratorMut