pub type ObjectPropertyAccessor = Option<unsafe extern "C" fn(obj: *mut Object, v: *mut Visitor, name: *const c_char, opaque: *mut c_void, errp: *mut *mut Error)>;
Expand description

ObjectPropertyAccessor: @obj: the object that owns the property @v: the visitor that contains the property data @name: the name of the property @opaque: the object property opaque @errp: a pointer to an Error that is filled if getting/setting fails.

Called when trying to get/set a property.

Aliased Type§

enum ObjectPropertyAccessor {
    None,
    Some(unsafe extern "C" fn(_: *mut Object, _: *mut Visitor, _: *const i8, _: *mut c_void, _: *mut *mut Error)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut Object, _: *mut Visitor, _: *const i8, _: *mut c_void, _: *mut *mut Error))

Some value of type T.