[−][src]Trait alloc_no_stdlib::Allocator
Associated Types
type AllocatedMemory: AllocatedSlice<T>
Required methods
fn alloc_cell(&mut self, len: usize) -> Self::AllocatedMemory
fn free_cell(&mut self, data: Self::AllocatedMemory)
Implementors
impl<'a, T: 'a, U: AllocatedSlice<&'a mut [T]>> Allocator<T> for StackAllocator<'a, T, U>
[src]
type AllocatedMemory = AllocatedStackMemory<'a, T>
fn alloc_cell(
self: &mut StackAllocator<'a, T, U>,
len: usize
) -> AllocatedStackMemory<'a, T>
[src]
self: &mut StackAllocator<'a, T, U>,
len: usize
) -> AllocatedStackMemory<'a, T>
fn free_cell(
self: &mut StackAllocator<'a, T, U>,
val: AllocatedStackMemory<'a, T>
)
[src]
self: &mut StackAllocator<'a, T, U>,
val: AllocatedStackMemory<'a, T>
)