#[repr(C)]
pub struct godot_pluginscript_instance_desc { pub init: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_script_data, p_owner: *mut godot_object) -> *mut godot_pluginscript_instance_data>, pub finish: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data)>, pub set_prop: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data, p_name: *const godot_string, p_value: *const godot_variant) -> godot_bool>, pub get_prop: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data, p_name: *const godot_string, r_ret: *mut godot_variant) -> godot_bool>, pub call_method: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data, p_method: *const godot_string_name, p_args: *mut *const godot_variant, p_argcount: c_int, r_error: *mut godot_variant_call_error) -> godot_variant>, pub notification: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data, p_notification: c_int)>, pub get_rpc_mode: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data, p_method: *const godot_string) -> godot_method_rpc_mode>, pub get_rset_mode: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data, p_variable: *const godot_string) -> godot_method_rpc_mode>, pub refcount_incremented: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data)>, pub refcount_decremented: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data) -> bool>, }

Fields

init: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_script_data, p_owner: *mut godot_object) -> *mut godot_pluginscript_instance_data>finish: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data)>set_prop: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data, p_name: *const godot_string, p_value: *const godot_variant) -> godot_bool>get_prop: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data, p_name: *const godot_string, r_ret: *mut godot_variant) -> godot_bool>call_method: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data, p_method: *const godot_string_name, p_args: *mut *const godot_variant, p_argcount: c_int, r_error: *mut godot_variant_call_error) -> godot_variant>notification: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data, p_notification: c_int)>get_rpc_mode: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data, p_method: *const godot_string) -> godot_method_rpc_mode>get_rset_mode: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data, p_variable: *const godot_string) -> godot_method_rpc_mode>refcount_incremented: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data)>refcount_decremented: Option<unsafe extern "C" fn(p_data: *mut godot_pluginscript_instance_data) -> bool>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.