#[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_uint§version: godot_gdnative_api_version§next: *const godot_gdnative_api_struct§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)>§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§

source§

impl Clone for godot_gdnative_ext_nativescript_1_1_api_struct

source§

fn clone(&self) -> godot_gdnative_ext_nativescript_1_1_api_struct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for godot_gdnative_ext_nativescript_1_1_api_struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for godot_gdnative_ext_nativescript_1_1_api_struct

source§

fn default() -> Self

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

impl Copy for godot_gdnative_ext_nativescript_1_1_api_struct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere
    T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere
    T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere
    T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere
    U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for Twhere
    T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere
    U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.