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