#[repr(C)]
pub struct godot_gdnative_core_1_1_api_struct {
Show 38 fields pub type_: c_uint, pub version: godot_gdnative_api_version, pub next: *const godot_gdnative_api_struct, pub godot_color_to_abgr32: Option<unsafe extern "C" fn(p_self: *const godot_color) -> godot_int>, pub godot_color_to_abgr64: Option<unsafe extern "C" fn(p_self: *const godot_color) -> godot_int>, pub godot_color_to_argb64: Option<unsafe extern "C" fn(p_self: *const godot_color) -> godot_int>, pub godot_color_to_rgba64: Option<unsafe extern "C" fn(p_self: *const godot_color) -> godot_int>, pub godot_color_darkened: Option<unsafe extern "C" fn(p_self: *const godot_color, p_amount: godot_real) -> godot_color>, pub godot_color_from_hsv: Option<unsafe extern "C" fn(p_self: *const godot_color, p_h: godot_real, p_s: godot_real, p_v: godot_real, p_a: godot_real) -> godot_color>, pub godot_color_lightened: Option<unsafe extern "C" fn(p_self: *const godot_color, p_amount: godot_real) -> godot_color>, pub godot_array_duplicate: Option<unsafe extern "C" fn(p_self: *const godot_array, p_deep: godot_bool) -> godot_array>, pub godot_array_max: Option<unsafe extern "C" fn(p_self: *const godot_array) -> godot_variant>, pub godot_array_min: Option<unsafe extern "C" fn(p_self: *const godot_array) -> godot_variant>, pub godot_array_shuffle: Option<unsafe extern "C" fn(p_self: *mut godot_array)>, pub godot_basis_slerp: Option<unsafe extern "C" fn(p_self: *const godot_basis, p_b: *const godot_basis, p_t: godot_real) -> godot_basis>, pub godot_dictionary_get_with_default: Option<unsafe extern "C" fn(p_self: *const godot_dictionary, p_key: *const godot_variant, p_default: *const godot_variant) -> godot_variant>, pub godot_dictionary_erase_with_return: Option<unsafe extern "C" fn(p_self: *mut godot_dictionary, p_key: *const godot_variant) -> bool>, pub godot_node_path_get_as_property_path: Option<unsafe extern "C" fn(p_self: *const godot_node_path) -> godot_node_path>, pub godot_quat_set_axis_angle: Option<unsafe extern "C" fn(p_self: *mut godot_quat, p_axis: *const godot_vector3, p_angle: godot_real)>, pub godot_rect2_grow_individual: Option<unsafe extern "C" fn(p_self: *const godot_rect2, p_left: godot_real, p_top: godot_real, p_right: godot_real, p_bottom: godot_real) -> godot_rect2>, pub godot_rect2_grow_margin: Option<unsafe extern "C" fn(p_self: *const godot_rect2, p_margin: godot_int, p_by: godot_real) -> godot_rect2>, pub godot_rect2_abs: Option<unsafe extern "C" fn(p_self: *const godot_rect2) -> godot_rect2>, pub godot_string_dedent: Option<unsafe extern "C" fn(p_self: *const godot_string) -> godot_string>, pub godot_string_trim_prefix: Option<unsafe extern "C" fn(p_self: *const godot_string, p_prefix: *const godot_string) -> godot_string>, pub godot_string_trim_suffix: Option<unsafe extern "C" fn(p_self: *const godot_string, p_suffix: *const godot_string) -> godot_string>, pub godot_string_rstrip: Option<unsafe extern "C" fn(p_self: *const godot_string, p_chars: *const godot_string) -> godot_string>, pub godot_string_rsplit: Option<unsafe extern "C" fn(p_self: *const godot_string, p_divisor: *const godot_string, p_allow_empty: godot_bool, p_maxsplit: godot_int) -> godot_pool_string_array>, pub godot_basis_get_quat: Option<unsafe extern "C" fn(p_self: *const godot_basis) -> godot_quat>, pub godot_basis_set_quat: Option<unsafe extern "C" fn(p_self: *mut godot_basis, p_quat: *const godot_quat)>, pub godot_basis_set_axis_angle_scale: Option<unsafe extern "C" fn(p_self: *mut godot_basis, p_axis: *const godot_vector3, p_phi: godot_real, p_scale: *const godot_vector3)>, pub godot_basis_set_euler_scale: Option<unsafe extern "C" fn(p_self: *mut godot_basis, p_euler: *const godot_vector3, p_scale: *const godot_vector3)>, pub godot_basis_set_quat_scale: Option<unsafe extern "C" fn(p_self: *mut godot_basis, p_quat: *const godot_quat, p_scale: *const godot_vector3)>, pub godot_is_instance_valid: Option<unsafe extern "C" fn(p_object: *const godot_object) -> bool>, pub godot_quat_new_with_basis: Option<unsafe extern "C" fn(r_dest: *mut godot_quat, p_basis: *const godot_basis)>, pub godot_quat_new_with_euler: Option<unsafe extern "C" fn(r_dest: *mut godot_quat, p_euler: *const godot_vector3)>, pub godot_transform_new_with_quat: Option<unsafe extern "C" fn(r_dest: *mut godot_transform, p_quat: *const godot_quat)>, pub godot_variant_get_operator_name: Option<unsafe extern "C" fn(p_op: godot_variant_operator) -> godot_string>, pub godot_variant_evaluate: Option<unsafe extern "C" fn(p_op: godot_variant_operator, p_a: *const godot_variant, p_b: *const godot_variant, r_ret: *mut godot_variant, r_valid: *mut godot_bool)>,
}

Fields§

§type_: c_uint§version: godot_gdnative_api_version§next: *const godot_gdnative_api_struct§godot_color_to_abgr32: Option<unsafe extern "C" fn(p_self: *const godot_color) -> godot_int>§godot_color_to_abgr64: Option<unsafe extern "C" fn(p_self: *const godot_color) -> godot_int>§godot_color_to_argb64: Option<unsafe extern "C" fn(p_self: *const godot_color) -> godot_int>§godot_color_to_rgba64: Option<unsafe extern "C" fn(p_self: *const godot_color) -> godot_int>§godot_color_darkened: Option<unsafe extern "C" fn(p_self: *const godot_color, p_amount: godot_real) -> godot_color>§godot_color_from_hsv: Option<unsafe extern "C" fn(p_self: *const godot_color, p_h: godot_real, p_s: godot_real, p_v: godot_real, p_a: godot_real) -> godot_color>§godot_color_lightened: Option<unsafe extern "C" fn(p_self: *const godot_color, p_amount: godot_real) -> godot_color>§godot_array_duplicate: Option<unsafe extern "C" fn(p_self: *const godot_array, p_deep: godot_bool) -> godot_array>§godot_array_max: Option<unsafe extern "C" fn(p_self: *const godot_array) -> godot_variant>§godot_array_min: Option<unsafe extern "C" fn(p_self: *const godot_array) -> godot_variant>§godot_array_shuffle: Option<unsafe extern "C" fn(p_self: *mut godot_array)>§godot_basis_slerp: Option<unsafe extern "C" fn(p_self: *const godot_basis, p_b: *const godot_basis, p_t: godot_real) -> godot_basis>§godot_dictionary_get_with_default: Option<unsafe extern "C" fn(p_self: *const godot_dictionary, p_key: *const godot_variant, p_default: *const godot_variant) -> godot_variant>§godot_dictionary_erase_with_return: Option<unsafe extern "C" fn(p_self: *mut godot_dictionary, p_key: *const godot_variant) -> bool>§godot_node_path_get_as_property_path: Option<unsafe extern "C" fn(p_self: *const godot_node_path) -> godot_node_path>§godot_quat_set_axis_angle: Option<unsafe extern "C" fn(p_self: *mut godot_quat, p_axis: *const godot_vector3, p_angle: godot_real)>§godot_rect2_grow_individual: Option<unsafe extern "C" fn(p_self: *const godot_rect2, p_left: godot_real, p_top: godot_real, p_right: godot_real, p_bottom: godot_real) -> godot_rect2>§godot_rect2_grow_margin: Option<unsafe extern "C" fn(p_self: *const godot_rect2, p_margin: godot_int, p_by: godot_real) -> godot_rect2>§godot_rect2_abs: Option<unsafe extern "C" fn(p_self: *const godot_rect2) -> godot_rect2>§godot_string_dedent: Option<unsafe extern "C" fn(p_self: *const godot_string) -> godot_string>§godot_string_trim_prefix: Option<unsafe extern "C" fn(p_self: *const godot_string, p_prefix: *const godot_string) -> godot_string>§godot_string_trim_suffix: Option<unsafe extern "C" fn(p_self: *const godot_string, p_suffix: *const godot_string) -> godot_string>§godot_string_rstrip: Option<unsafe extern "C" fn(p_self: *const godot_string, p_chars: *const godot_string) -> godot_string>§godot_string_rsplit: Option<unsafe extern "C" fn(p_self: *const godot_string, p_divisor: *const godot_string, p_allow_empty: godot_bool, p_maxsplit: godot_int) -> godot_pool_string_array>§godot_basis_get_quat: Option<unsafe extern "C" fn(p_self: *const godot_basis) -> godot_quat>§godot_basis_set_quat: Option<unsafe extern "C" fn(p_self: *mut godot_basis, p_quat: *const godot_quat)>§godot_basis_set_axis_angle_scale: Option<unsafe extern "C" fn(p_self: *mut godot_basis, p_axis: *const godot_vector3, p_phi: godot_real, p_scale: *const godot_vector3)>§godot_basis_set_euler_scale: Option<unsafe extern "C" fn(p_self: *mut godot_basis, p_euler: *const godot_vector3, p_scale: *const godot_vector3)>§godot_basis_set_quat_scale: Option<unsafe extern "C" fn(p_self: *mut godot_basis, p_quat: *const godot_quat, p_scale: *const godot_vector3)>§godot_is_instance_valid: Option<unsafe extern "C" fn(p_object: *const godot_object) -> bool>§godot_quat_new_with_basis: Option<unsafe extern "C" fn(r_dest: *mut godot_quat, p_basis: *const godot_basis)>§godot_quat_new_with_euler: Option<unsafe extern "C" fn(r_dest: *mut godot_quat, p_euler: *const godot_vector3)>§godot_transform_new_with_quat: Option<unsafe extern "C" fn(r_dest: *mut godot_transform, p_quat: *const godot_quat)>§godot_variant_get_operator_name: Option<unsafe extern "C" fn(p_op: godot_variant_operator) -> godot_string>§godot_variant_evaluate: Option<unsafe extern "C" fn(p_op: godot_variant_operator, p_a: *const godot_variant, p_b: *const godot_variant, r_ret: *mut godot_variant, r_valid: *mut godot_bool)>

Trait Implementations§

source§

impl Clone for godot_gdnative_core_1_1_api_struct

source§

fn clone(&self) -> godot_gdnative_core_1_1_api_struct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for godot_gdnative_core_1_1_api_struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for godot_gdnative_core_1_1_api_struct

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Copy for godot_gdnative_core_1_1_api_struct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere
    T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere
    T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere
    T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere
    U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for Twhere
    T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere
    U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.