#[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>,
}
Returns the "default value" for a type. Read more
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static