Struct gdnative_sys::godot_gdnative_ext_nativescript_1_1_api_struct[][src]

#[repr(C)]pub struct godot_gdnative_ext_nativescript_1_1_api_struct {
    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

impl Clone for godot_gdnative_ext_nativescript_1_1_api_struct[src]

impl Copy for godot_gdnative_ext_nativescript_1_1_api_struct[src]

impl Debug for godot_gdnative_ext_nativescript_1_1_api_struct[src]

impl Default for godot_gdnative_ext_nativescript_1_1_api_struct[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.