#[repr(C)]
pub struct godot_gdnative_core_1_2_api_struct {
Show 21 fields 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_uint§version: godot_gdnative_api_version§next: *const godot_gdnative_api_struct§godot_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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.