pub type GDExtensionInterfaceObjectSetScriptInstance = Option<unsafe extern "C" fn(p_object: GDExtensionObjectPtr, p_script_instance: GDExtensionScriptInstanceDataPtr)>;Expand description
@name object_set_script_instance @since 4.5
Set the script instance data attached to this object.
@param p_object A pointer to the Object. @param p_script_instance A pointer to the script instance data to attach to this object.
Aliased Type§
pub enum GDExtensionInterfaceObjectSetScriptInstance {
None,
Some(unsafe extern "C" fn(*mut __GdextObject, *mut __GdextScriptInstanceData)),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut __GdextObject, *mut __GdextScriptInstanceData))
Some value of type T.