[−][src]Trait glib::boxed::BoxedMemoryManager
Memory management functions for a boxed type.
Required methods
unsafe fn copy(ptr: *const T) -> *mut T
Makes a copy.
unsafe fn free(ptr: *mut T)
Frees the object.
unsafe fn init(ptr: *mut T)
Initializes an already allocated object.
unsafe fn clear(ptr: *mut T)
Clears and frees all memory of the object, but not the object itself.