Struct gdnative_sys::godot_gdnative_ext_nativescript_api_struct [−][src]
#[repr(C)]pub struct godot_gdnative_ext_nativescript_api_struct { pub type_: c_uint, pub version: godot_gdnative_api_version, pub next: *const godot_gdnative_api_struct, pub godot_nativescript_register_class: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_base: *const c_char, p_create_func: godot_instance_create_func, p_destroy_func: godot_instance_destroy_func)>, pub godot_nativescript_register_tool_class: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_base: *const c_char, p_create_func: godot_instance_create_func, p_destroy_func: godot_instance_destroy_func)>, pub godot_nativescript_register_method: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_function_name: *const c_char, p_attr: godot_method_attributes, p_method: godot_instance_method)>, pub godot_nativescript_register_property: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_path: *const c_char, p_attr: *mut godot_property_attributes, p_set_func: godot_property_set_func, p_get_func: godot_property_get_func)>, pub godot_nativescript_register_signal: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_signal: *const godot_signal)>, pub godot_nativescript_get_userdata: Option<unsafe extern "C" fn(p_instance: *mut godot_object) -> *mut c_void>, }
Fields
type_: c_uint
version: godot_gdnative_api_version
next: *const godot_gdnative_api_struct
godot_nativescript_register_class: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_base: *const c_char, p_create_func: godot_instance_create_func, p_destroy_func: godot_instance_destroy_func)>
godot_nativescript_register_tool_class: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_base: *const c_char, p_create_func: godot_instance_create_func, p_destroy_func: godot_instance_destroy_func)>
godot_nativescript_register_method: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_function_name: *const c_char, p_attr: godot_method_attributes, p_method: godot_instance_method)>
godot_nativescript_register_property: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_path: *const c_char, p_attr: *mut godot_property_attributes, p_set_func: godot_property_set_func, p_get_func: godot_property_get_func)>
godot_nativescript_register_signal: Option<unsafe extern "C" fn(p_gdnative_handle: *mut c_void, p_name: *const c_char, p_signal: *const godot_signal)>
godot_nativescript_get_userdata: Option<unsafe extern "C" fn(p_instance: *mut godot_object) -> *mut c_void>
Trait Implementations
impl Debug for godot_gdnative_ext_nativescript_api_struct
[src]
impl Debug for godot_gdnative_ext_nativescript_api_struct
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for godot_gdnative_ext_nativescript_api_struct
[src]
impl Copy for godot_gdnative_ext_nativescript_api_struct
impl Clone for godot_gdnative_ext_nativescript_api_struct
[src]
impl Clone for godot_gdnative_ext_nativescript_api_struct
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for godot_gdnative_ext_nativescript_api_struct
[src]
impl Default for godot_gdnative_ext_nativescript_api_struct