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

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[src]

Makes a copy.

unsafe fn free(ptr: *mut T)[src]

Frees the object.

Loading content...

Implementors

Loading content...