ObjectPropertyResolve

Type Alias ObjectPropertyResolve 

Source
pub type ObjectPropertyResolve = Option<unsafe extern "C" fn(*mut Object, *mut c_void, *const i8) -> *mut Object>;
Expand description

ObjectPropertyResolve: @obj: the object that owns the property @opaque: the opaque registered with the property @part: the name of the property

Resolves the #Object corresponding to property @part.

The returned object can also be used as a starting point to resolve a relative path starting with “@part”.

Returns: If @path is the path that led to @obj, the function returns the #Object corresponding to “@path/@part”. If “@path/@part” is not a valid object path, it returns #NULL.

Aliased Type§

pub enum ObjectPropertyResolve {
    None,
    Some(unsafe extern "C" fn(*mut Object, *mut c_void, *const i8) -> *mut Object),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut Object, *mut c_void, *const i8) -> *mut Object)

Some value of type T.