Trait it_lilo::traits::Allocatable[][src]

pub trait Allocatable {
    fn allocate(
        &self,
        size: u32,
        type_tag: u32
    ) -> Result<usize, AllocatableError>;
fn memory_slice(
        &self,
        memory_index: usize
    ) -> Result<MemSlice<'_>, AllocatableError>; }

Required methods

fn allocate(&self, size: u32, type_tag: u32) -> Result<usize, AllocatableError>[src]

fn memory_slice(
    &self,
    memory_index: usize
) -> Result<MemSlice<'_>, AllocatableError>
[src]

Loading content...

Implementors

Loading content...