Struct cognitive_qualia::memory::MemoryPool [] [src]

pub struct MemoryPool { /* fields omitted */ }

This structure is used to provide storage for images of different type: shared memory and buffers and return views to them.

Methods

impl MemoryPool
[src]

Creates new MemoryPool containing Memory.

Returns MemoryViews from Memorys stored in MemoryPool.

Consumes the pool and if there are no other references to this memory left returns the Memory.