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