Struct scoped_allocator::HeapAllocator [] [src]

pub struct HeapAllocator;

Allocator stub that just forwards to heap allocation.

Trait Implementations

impl Debug for HeapAllocator
[src]

Formats the value using the given formatter.

impl Allocator for HeapAllocator
[src]

Attempt to allocate a block of memory. Read more

Deallocate the memory referred to by this pointer. Read more

Attempts to allocate space for the value supplied to it. This incurs an expensive memcpy. If the performance of this allocation is important to you, it is recommended to use the in-place syntax with the allocate function. Read more

Attempts to create a place to allocate into.