pub trait BoxedMemoryManager<T>: 'static { // Required methods unsafe fn copy(ptr: *const T) -> *mut T; unsafe fn free(ptr: *mut T); }
Memory management functions for a boxed type.
Makes a copy.
Frees the object.