[][src]Trait glib::boxed::BoxedMemoryManager

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.

Required methods

unsafe fn copy(ptr: *const T) -> *mut T

Makes a copy.

unsafe fn free(ptr: *mut T)

Frees the object.

Loading content...

Implementors

Loading content...