Struct gdnative_sys::godot_gdnative_core_1_1_api_struct[][src]

#[repr(C)]pub struct godot_gdnative_core_1_1_api_struct {
    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_uintversion: godot_gdnative_api_versionnext: *const godot_gdnative_api_structgodot_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

impl Clone for godot_gdnative_core_1_1_api_struct[src]

impl Copy for godot_gdnative_core_1_1_api_struct[src]

impl Debug for godot_gdnative_core_1_1_api_struct[src]

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