[][src]Struct gdnative_bindings::sys::godot_gdnative_ext_nativescript_api_struct

#[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_: u32version: godot_gdnative_api_versionnext: *const godot_gdnative_api_structgodot_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

impl Clone for godot_gdnative_ext_nativescript_api_struct[src]

impl Copy for godot_gdnative_ext_nativescript_api_struct[src]

impl Debug for godot_gdnative_ext_nativescript_api_struct[src]

impl Default for godot_gdnative_ext_nativescript_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.