#[repr(C)]pub struct godot_gdnative_ext_nativescript_1_1_api_struct {Show 15 fields
pub type_: u32,
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(*mut c_void, *const i8, *const i8, i32, *const godot_method_arg)>,
pub godot_nativescript_set_class_documentation: Option<unsafe extern "C" fn(*mut c_void, *const i8, godot_string)>,
pub godot_nativescript_set_method_documentation: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const i8, godot_string)>,
pub godot_nativescript_set_property_documentation: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const i8, godot_string)>,
pub godot_nativescript_set_signal_documentation: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const i8, godot_string)>,
pub godot_nativescript_set_global_type_tag: Option<unsafe extern "C" fn(i32, *const i8, *const c_void)>,
pub godot_nativescript_get_global_type_tag: Option<unsafe extern "C" fn(i32, *const i8) -> *const c_void>,
pub godot_nativescript_set_type_tag: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const c_void)>,
pub godot_nativescript_get_type_tag: Option<unsafe extern "C" fn(*const c_void) -> *const c_void>,
pub godot_nativescript_register_instance_binding_data_functions: Option<unsafe extern "C" fn(godot_instance_binding_functions) -> i32>,
pub godot_nativescript_unregister_instance_binding_data_functions: Option<unsafe extern "C" fn(i32)>,
pub godot_nativescript_get_instance_binding_data: Option<unsafe extern "C" fn(i32, *mut c_void) -> *mut c_void>,
}
Fields§
§type_: u32
§version: godot_gdnative_api_version
§next: *const godot_gdnative_api_struct
§godot_nativescript_set_method_argument_information: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const i8, i32, *const godot_method_arg)>
§godot_nativescript_set_class_documentation: Option<unsafe extern "C" fn(*mut c_void, *const i8, godot_string)>
§godot_nativescript_set_method_documentation: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const i8, godot_string)>
§godot_nativescript_set_property_documentation: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const i8, godot_string)>
§godot_nativescript_set_signal_documentation: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const i8, godot_string)>
§godot_nativescript_set_global_type_tag: Option<unsafe extern "C" fn(i32, *const i8, *const c_void)>
§godot_nativescript_get_global_type_tag: Option<unsafe extern "C" fn(i32, *const i8) -> *const c_void>
§godot_nativescript_set_type_tag: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const c_void)>
§godot_nativescript_get_type_tag: Option<unsafe extern "C" fn(*const c_void) -> *const c_void>
§godot_nativescript_register_instance_binding_data_functions: Option<unsafe extern "C" fn(godot_instance_binding_functions) -> i32>
§godot_nativescript_unregister_instance_binding_data_functions: Option<unsafe extern "C" fn(i32)>
§godot_nativescript_get_instance_binding_data: Option<unsafe extern "C" fn(i32, *mut c_void) -> *mut c_void>
Trait Implementations§
Source§impl Clone for godot_gdnative_ext_nativescript_1_1_api_struct
impl Clone for godot_gdnative_ext_nativescript_1_1_api_struct
Source§fn clone(&self) -> godot_gdnative_ext_nativescript_1_1_api_struct
fn clone(&self) -> godot_gdnative_ext_nativescript_1_1_api_struct
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for godot_gdnative_ext_nativescript_1_1_api_struct
impl Default for godot_gdnative_ext_nativescript_1_1_api_struct
Source§fn default() -> godot_gdnative_ext_nativescript_1_1_api_struct
fn default() -> godot_gdnative_ext_nativescript_1_1_api_struct
Returns the “default value” for a type. Read more
impl Copy for godot_gdnative_ext_nativescript_1_1_api_struct
Auto Trait Implementations§
impl Freeze for godot_gdnative_ext_nativescript_1_1_api_struct
impl RefUnwindSafe for godot_gdnative_ext_nativescript_1_1_api_struct
impl !Send for godot_gdnative_ext_nativescript_1_1_api_struct
impl !Sync for godot_gdnative_ext_nativescript_1_1_api_struct
impl Unpin for godot_gdnative_ext_nativescript_1_1_api_struct
impl UnwindSafe for godot_gdnative_ext_nativescript_1_1_api_struct
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more