#[repr(C)]
pub struct godot_gdnative_ext_nativescript_1_1_api_struct {
Show 16 fields pub type_: c_uint, pub version: godot_gdnative_api_version, pub next: *const godot_gdnative_api_struct, pub godot_nativescript_set_method_argument_information: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_function_name: *const c_char, p_num_args: c_int, p_args: *const godot_method_arg)>, pub godot_nativescript_set_class_documentation: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_documentation: godot_string)>, pub godot_nativescript_set_method_documentation: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_function_name: *const c_char, p_documentation: godot_string)>, pub godot_nativescript_set_property_documentation: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_path: *const c_char, p_documentation: godot_string)>, pub godot_nativescript_set_signal_documentation: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_signal_name: *const c_char, p_documentation: godot_string)>, pub godot_nativescript_set_global_type_tag: Option<unsafe extern "C" fn(p_idx: c_int, p_name: *const c_char, p_type_tag: *const c_void)>, pub godot_nativescript_get_global_type_tag: Option<unsafe extern "C" fn(p_idx: c_int, p_name: *const c_char) -> *const c_void>, pub godot_nativescript_set_type_tag: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_type_tag: *const c_void)>, pub godot_nativescript_get_type_tag: Option<unsafe extern "C" fn(p_object: *const godot_object) -> *const c_void>, pub godot_nativescript_register_instance_binding_data_functions: Option<unsafe extern "C" fn(p_binding_functions: godot_instance_binding_functions) -> c_int>, pub godot_nativescript_unregister_instance_binding_data_functions: Option<unsafe extern "C" fn(p_idx: c_int)>, pub godot_nativescript_get_instance_binding_data: Option<unsafe extern "C" fn(p_idx: c_int, p_object: *mut godot_object) -> *mut c_void>, pub godot_nativescript_profiling_add_data: Option<unsafe extern "C" fn(p_signature: *const c_char, p_line: u64)>,
}

Fields

type_: c_uintversion: godot_gdnative_api_versionnext: *const godot_gdnative_api_structgodot_nativescript_set_method_argument_information: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_function_name: *const c_char, p_num_args: c_int, p_args: *const godot_method_arg)>godot_nativescript_set_class_documentation: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_documentation: godot_string)>godot_nativescript_set_method_documentation: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_function_name: *const c_char, p_documentation: godot_string)>godot_nativescript_set_property_documentation: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_path: *const c_char, p_documentation: godot_string)>godot_nativescript_set_signal_documentation: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_signal_name: *const c_char, p_documentation: godot_string)>godot_nativescript_set_global_type_tag: Option<unsafe extern "C" fn(p_idx: c_int, p_name: *const c_char, p_type_tag: *const c_void)>godot_nativescript_get_global_type_tag: Option<unsafe extern "C" fn(p_idx: c_int, p_name: *const c_char) -> *const c_void>godot_nativescript_set_type_tag: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_type_tag: *const c_void)>godot_nativescript_get_type_tag: Option<unsafe extern "C" fn(p_object: *const godot_object) -> *const c_void>godot_nativescript_register_instance_binding_data_functions: Option<unsafe extern "C" fn(p_binding_functions: godot_instance_binding_functions) -> c_int>godot_nativescript_unregister_instance_binding_data_functions: Option<unsafe extern "C" fn(p_idx: c_int)>godot_nativescript_get_instance_binding_data: Option<unsafe extern "C" fn(p_idx: c_int, p_object: *mut godot_object) -> *mut c_void>godot_nativescript_profiling_add_data: Option<unsafe extern "C" fn(p_signature: *const c_char, p_line: u64)>

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.