Type Alias panda_sys::ObjectUnparent

source ·
pub type ObjectUnparent = Option<unsafe extern "C" fn(obj: *mut Object)>;
Expand description

ObjectUnparent: @obj: the object that is being removed from the composition tree

Called when an object is being removed from the QOM composition tree. The function should remove any backlinks from children objects to @obj.

Aliased Type§

enum ObjectUnparent {
    None,
    Some(unsafe extern "C" fn(_: *mut Object)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut Object))

Some value of type T.