Type Alias panda_sys::GCopyFunc

source ·
pub type GCopyFunc = Option<unsafe extern "C" fn(src: gconstpointer, data: gpointer) -> gpointer>;
Expand description

GCopyFunc: @src: (not nullable): A pointer to the data which should be copied @data: Additional data

A function of this signature is used to copy the node data when doing a deep-copy of a tree.

Returns: (not nullable): A pointer to the copy

Since: 2.4

Aliased Type§

enum GCopyFunc {
    None,
    Some(unsafe extern "C" fn(_: *const c_void, _: *mut c_void) -> *mut c_void),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const c_void, _: *mut c_void) -> *mut c_void)

Some value of type T.