#[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§
Source§impl Clone for godot_gdnative_core_1_2_api_struct
impl Clone for godot_gdnative_core_1_2_api_struct
Source§fn clone(&self) -> godot_gdnative_core_1_2_api_struct
fn clone(&self) -> godot_gdnative_core_1_2_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 moreimpl Copy for godot_gdnative_core_1_2_api_struct
Auto Trait Implementations§
impl Freeze for godot_gdnative_core_1_2_api_struct
impl RefUnwindSafe for godot_gdnative_core_1_2_api_struct
impl !Send for godot_gdnative_core_1_2_api_struct
impl !Sync for godot_gdnative_core_1_2_api_struct
impl Unpin for godot_gdnative_core_1_2_api_struct
impl UnwindSafe for godot_gdnative_core_1_2_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