Trait phper_alloc::EAllocatable[][src]

pub trait EAllocatable {
    fn free(ptr: *mut Self) { ... }
}
Expand description

The item which can be placed into container EBox.

Provided methods

The method to free the heap allocated by emalloc, should call efree at the end.

Implementors