pub unsafe extern "C" fn validate_property<T: GodotValidateProperty>(
instance: GDExtensionClassInstancePtr,
property_info_ptr: *mut GDExtensionPropertyInfo,
) -> GDExtensionBoolExpand description
Callback for validate_property.
Exposes PropertyInfo created out of *mut GDExtensionPropertyInfo ptr to user and moves edited values back to the pointer.
§Safety
- Must only be called by Godot as a callback for
validate_propertyfor a rust-defined class of typeT. property_info_ptrmust be valid for the whole duration of this function call (i.e. - can’t be freed nor consumed).