#[repr(C)]pub struct godot_gdnative_ext_nativescript_api_struct {
pub type_: u32,
pub version: godot_gdnative_api_version,
pub next: *const godot_gdnative_api_struct,
pub godot_nativescript_register_class: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const i8, godot_instance_create_func, godot_instance_destroy_func)>,
pub godot_nativescript_register_tool_class: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const i8, godot_instance_create_func, godot_instance_destroy_func)>,
pub godot_nativescript_register_method: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const i8, godot_method_attributes, godot_instance_method)>,
pub godot_nativescript_register_property: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const i8, *mut godot_property_attributes, godot_property_set_func, godot_property_get_func)>,
pub godot_nativescript_register_signal: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const godot_signal)>,
pub godot_nativescript_get_userdata: Option<unsafe extern "C" fn(*mut c_void) -> *mut c_void>,
}
Fields§
§type_: u32
§version: godot_gdnative_api_version
§next: *const godot_gdnative_api_struct
§godot_nativescript_register_class: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const i8, godot_instance_create_func, godot_instance_destroy_func)>
§godot_nativescript_register_tool_class: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const i8, godot_instance_create_func, godot_instance_destroy_func)>
§godot_nativescript_register_method: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const i8, godot_method_attributes, godot_instance_method)>
§godot_nativescript_register_property: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const i8, *mut godot_property_attributes, godot_property_set_func, godot_property_get_func)>
§godot_nativescript_register_signal: Option<unsafe extern "C" fn(*mut c_void, *const i8, *const godot_signal)>
§godot_nativescript_get_userdata: Option<unsafe extern "C" fn(*mut c_void) -> *mut c_void>
Trait Implementations§
Source§impl Clone for godot_gdnative_ext_nativescript_api_struct
impl Clone for godot_gdnative_ext_nativescript_api_struct
Source§fn clone(&self) -> godot_gdnative_ext_nativescript_api_struct
fn clone(&self) -> godot_gdnative_ext_nativescript_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_api_struct
impl Default for godot_gdnative_ext_nativescript_api_struct
Source§fn default() -> godot_gdnative_ext_nativescript_api_struct
fn default() -> godot_gdnative_ext_nativescript_api_struct
Returns the “default value” for a type. Read more
impl Copy for godot_gdnative_ext_nativescript_api_struct
Auto Trait Implementations§
impl Freeze for godot_gdnative_ext_nativescript_api_struct
impl RefUnwindSafe for godot_gdnative_ext_nativescript_api_struct
impl !Send for godot_gdnative_ext_nativescript_api_struct
impl !Sync for godot_gdnative_ext_nativescript_api_struct
impl Unpin for godot_gdnative_ext_nativescript_api_struct
impl UnwindSafe for godot_gdnative_ext_nativescript_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