Struct gdnative_sys::godot_gdnative_core_1_2_api_struct[][src]

#[repr(C)]pub struct godot_gdnative_core_1_2_api_struct {
    pub type_: c_uint,
    pub version: godot_gdnative_api_version,
    pub next: *const godot_gdnative_api_struct,
    pub godot_dictionary_duplicate: Option<unsafe extern "C" fn(p_self: *const godot_dictionary, p_deep: godot_bool) -> godot_dictionary>,
    pub godot_vector3_move_toward: Option<unsafe extern "C" fn(p_self: *const godot_vector3, p_to: *const godot_vector3, p_delta: godot_real) -> godot_vector3>,
    pub godot_vector2_move_toward: Option<unsafe extern "C" fn(p_self: *const godot_vector2, p_to: *const godot_vector2, p_delta: godot_real) -> godot_vector2>,
    pub godot_string_count: Option<unsafe extern "C" fn(p_self: *const godot_string, p_what: godot_string, p_from: godot_int, p_to: godot_int) -> godot_int>,
    pub godot_string_countn: Option<unsafe extern "C" fn(p_self: *const godot_string, p_what: godot_string, p_from: godot_int, p_to: godot_int) -> godot_int>,
    pub godot_vector3_direction_to: Option<unsafe extern "C" fn(p_self: *const godot_vector3, p_to: *const godot_vector3) -> godot_vector3>,
    pub godot_vector2_direction_to: Option<unsafe extern "C" fn(p_self: *const godot_vector2, p_to: *const godot_vector2) -> godot_vector2>,
    pub godot_array_slice: Option<unsafe extern "C" fn(p_self: *const godot_array, p_begin: godot_int, p_end: godot_int, p_step: godot_int, p_deep: godot_bool) -> godot_array>,
    pub godot_pool_byte_array_empty: Option<unsafe extern "C" fn(p_self: *const godot_pool_byte_array) -> godot_bool>,
    pub godot_pool_int_array_empty: Option<unsafe extern "C" fn(p_self: *const godot_pool_int_array) -> godot_bool>,
    pub godot_pool_real_array_empty: Option<unsafe extern "C" fn(p_self: *const godot_pool_real_array) -> godot_bool>,
    pub godot_pool_string_array_empty: Option<unsafe extern "C" fn(p_self: *const godot_pool_string_array) -> godot_bool>,
    pub godot_pool_vector2_array_empty: Option<unsafe extern "C" fn(p_self: *const godot_pool_vector2_array) -> godot_bool>,
    pub godot_pool_vector3_array_empty: Option<unsafe extern "C" fn(p_self: *const godot_pool_vector3_array) -> godot_bool>,
    pub godot_pool_color_array_empty: Option<unsafe extern "C" fn(p_self: *const godot_pool_color_array) -> godot_bool>,
    pub godot_get_class_tag: Option<unsafe extern "C" fn(p_class: *const godot_string_name) -> *mut c_void>,
    pub godot_object_cast_to: Option<unsafe extern "C" fn(p_object: *const godot_object, p_class_tag: *mut c_void) -> *mut godot_object>,
    pub godot_instance_from_id: Option<unsafe extern "C" fn(p_instance_id: godot_int) -> *mut godot_object>,
}

Fields

type_: c_uintversion: godot_gdnative_api_versionnext: *const godot_gdnative_api_structgodot_dictionary_duplicate: Option<unsafe extern "C" fn(p_self: *const godot_dictionary, p_deep: godot_bool) -> godot_dictionary>godot_vector3_move_toward: Option<unsafe extern "C" fn(p_self: *const godot_vector3, p_to: *const godot_vector3, p_delta: godot_real) -> godot_vector3>godot_vector2_move_toward: Option<unsafe extern "C" fn(p_self: *const godot_vector2, p_to: *const godot_vector2, p_delta: godot_real) -> godot_vector2>godot_string_count: Option<unsafe extern "C" fn(p_self: *const godot_string, p_what: godot_string, p_from: godot_int, p_to: godot_int) -> godot_int>godot_string_countn: Option<unsafe extern "C" fn(p_self: *const godot_string, p_what: godot_string, p_from: godot_int, p_to: godot_int) -> godot_int>godot_vector3_direction_to: Option<unsafe extern "C" fn(p_self: *const godot_vector3, p_to: *const godot_vector3) -> godot_vector3>godot_vector2_direction_to: Option<unsafe extern "C" fn(p_self: *const godot_vector2, p_to: *const godot_vector2) -> godot_vector2>godot_array_slice: Option<unsafe extern "C" fn(p_self: *const godot_array, p_begin: godot_int, p_end: godot_int, p_step: godot_int, p_deep: godot_bool) -> godot_array>godot_pool_byte_array_empty: Option<unsafe extern "C" fn(p_self: *const godot_pool_byte_array) -> godot_bool>godot_pool_int_array_empty: Option<unsafe extern "C" fn(p_self: *const godot_pool_int_array) -> godot_bool>godot_pool_real_array_empty: Option<unsafe extern "C" fn(p_self: *const godot_pool_real_array) -> godot_bool>godot_pool_string_array_empty: Option<unsafe extern "C" fn(p_self: *const godot_pool_string_array) -> godot_bool>godot_pool_vector2_array_empty: Option<unsafe extern "C" fn(p_self: *const godot_pool_vector2_array) -> godot_bool>godot_pool_vector3_array_empty: Option<unsafe extern "C" fn(p_self: *const godot_pool_vector3_array) -> godot_bool>godot_pool_color_array_empty: Option<unsafe extern "C" fn(p_self: *const godot_pool_color_array) -> godot_bool>godot_get_class_tag: Option<unsafe extern "C" fn(p_class: *const godot_string_name) -> *mut c_void>godot_object_cast_to: Option<unsafe extern "C" fn(p_object: *const godot_object, p_class_tag: *mut c_void) -> *mut godot_object>godot_instance_from_id: Option<unsafe extern "C" fn(p_instance_id: godot_int) -> *mut godot_object>

Trait Implementations

impl Clone for godot_gdnative_core_1_2_api_struct[src]

impl Copy for godot_gdnative_core_1_2_api_struct[src]

impl Debug for godot_gdnative_core_1_2_api_struct[src]

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