Trait divans::Allocator[][src]

pub trait Allocator<T> {
    type AllocatedMemory: AllocatedSlice<T>;
    fn alloc_cell(&mut self, len: usize) -> Self::AllocatedMemory;
fn free_cell(&mut self, data: Self::AllocatedMemory); }

Associated Types

Required Methods

Implementations on Foreign Types

impl<T> Allocator<T> for HeapAlloc<T> where
    T: Clone
[src]

Implementors