pub trait BoxedMemoryManager<T>: 'static {
    unsafe fn copy(ptr: *const T) -> *mut T;
    unsafe fn free(ptr: *mut T);
}
Expand description

Memory management functions for a boxed type.

Required Methods

Makes a copy.

Frees the object.

Implementors