pub trait Allocatable<MV: MemoryView<Store>, Store: Store>: Send {
    // Required method
    fn allocate<'this, 'store: 'this, 'store_inner: 'this>(
        &'this mut self,
        store: &'store mut <Store as Store>::ActualStore<'store_inner>,
        size: u32,
        type_tag: u32
    ) -> BoxFuture<'this, Result<(u32, MV), AllocatableError>>;
}

Required Methods§

source

fn allocate<'this, 'store: 'this, 'store_inner: 'this>( &'this mut self, store: &'store mut <Store as Store>::ActualStore<'store_inner>, size: u32, type_tag: u32 ) -> BoxFuture<'this, Result<(u32, MV), AllocatableError>>

Implementors§