Struct alloc_no_stdlib::HeapPrealloc [] [src]

pub struct HeapPrealloc<'a, T: 'a> {
    // some fields omitted
}

Methods

impl<'a, T: Clone + 'a> HeapPrealloc<'a, T>
[src]

fn new_allocator(freelist_size: usize, memory_pool: &'a mut Box<[T]>, initializer: fn(&mut [T])) -> StackAllocator<'a, T, HeapPrealloc<'a, T>>

Trait Implementations

impl<'a, T: 'a> Default for HeapPrealloc<'a, T>
[src]

fn default() -> Self

Returns the "default value" for a type. Read more

impl<'a, T: 'a> SliceWrapper<&'a mut [T]> for HeapPrealloc<'a, T>
[src]

fn slice(&self) -> &[&'a mut [T]]

impl<'a, T: 'a> SliceWrapperMut<&'a mut [T]> for HeapPrealloc<'a, T>
[src]

fn slice_mut(&mut self) -> &mut [&'a mut [T]]

impl<'a, T: 'a> Index<usize> for HeapPrealloc<'a, T>
[src]

type Output = [T]

The returned type after indexing

fn index<'b>(&'b self, _index: usize) -> &'b [T]

The method for the indexing (Foo[Bar]) operation

impl<'a, T: 'a> IndexMut<usize> for HeapPrealloc<'a, T>
[src]

fn index_mut<'b>(&'b mut self, _index: usize) -> &'b mut [T]

The method for the indexing (Foo[Bar]) operation