Struct ami::HeapData [] [src]

pub struct HeapData<T>(_, _);

A safe wrapper around a T pointer.

Methods

impl<T> HeapData<T>
[src]

Allocate space for size elements on the heap. The memory is automatically free'd.

Allocates memory on the heap and then places x into it. Doesn't actually allocate if T is zero-sized.

Trait Implementations

impl<T> Deref for HeapData<T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<T> DerefMut for HeapData<T>
[src]

The method called to mutably dereference a value