Struct simple_allocator_trait::DefaultHeap[][src]

pub struct DefaultHeap {}

An implementation of Allocator that allocates using the default heap allocator

(Uses Vec::with_capacity internally)

Trait Implementations

impl Allocator for DefaultHeap
[src]

Allocate enough memory to store capacity of T

Free previously allocated memory from pointer. Read more

Auto Trait Implementations

impl Send for DefaultHeap

impl Sync for DefaultHeap