[][src]Trait ohm::allocator::Allocation

pub trait Allocation<B: Backend> {
    fn memory(&self) -> &B::Memory;
fn flags(&self) -> Properties;
fn range(&self) -> Range<u64>; }

Trait implemented by memory chunks returned from the allocator.

Required methods

fn memory(&self) -> &B::Memory

Memory associated with the chunk

fn flags(&self) -> Properties

Flags of the associated memory

fn range(&self) -> Range<u64>

Range of the chunk in the memory

Loading content...

Implementors

impl<B: Backend> Allocation<B> for HybridAllocation<B>[src]

impl<B: Backend> Allocation<B> for ChunkAllocation<B>[src]

impl<B: Backend> Allocation<B> for PassthroughAllocation<B>[src]

Loading content...