#[repr(C)]
pub struct godot_gdnative_ext_arvr_api_struct {
Show 14 fields pub type_: c_uint, pub version: godot_gdnative_api_version, pub next: *const godot_gdnative_api_struct, pub godot_arvr_register_interface: Option<unsafe extern "C" fn(p_interface: *const godot_arvr_interface_gdnative)>, pub godot_arvr_get_worldscale: Option<unsafe extern "C" fn() -> godot_real>, pub godot_arvr_get_reference_frame: Option<unsafe extern "C" fn() -> godot_transform>, pub godot_arvr_blit: Option<unsafe extern "C" fn(p_eye: c_int, p_render_target: *mut godot_rid, p_screen_rect: *mut godot_rect2)>, pub godot_arvr_get_texid: Option<unsafe extern "C" fn(p_render_target: *mut godot_rid) -> godot_int>, pub godot_arvr_add_controller: Option<unsafe extern "C" fn(p_device_name: *mut c_char, p_hand: godot_int, p_tracks_orientation: godot_bool, p_tracks_position: godot_bool) -> godot_int>, pub godot_arvr_remove_controller: Option<unsafe extern "C" fn(p_controller_id: godot_int)>, pub godot_arvr_set_controller_transform: Option<unsafe extern "C" fn(p_controller_id: godot_int, p_transform: *mut godot_transform, p_tracks_orientation: godot_bool, p_tracks_position: godot_bool)>, pub godot_arvr_set_controller_button: Option<unsafe extern "C" fn(p_controller_id: godot_int, p_button: godot_int, p_is_pressed: godot_bool)>, pub godot_arvr_set_controller_axis: Option<unsafe extern "C" fn(p_controller_id: godot_int, p_exis: godot_int, p_value: godot_real, p_can_be_negative: godot_bool)>, pub godot_arvr_get_controller_rumble: Option<unsafe extern "C" fn(p_controller_id: godot_int) -> godot_real>,
}

Fields§

§type_: c_uint§version: godot_gdnative_api_version§next: *const godot_gdnative_api_struct§godot_arvr_register_interface: Option<unsafe extern "C" fn(p_interface: *const godot_arvr_interface_gdnative)>§godot_arvr_get_worldscale: Option<unsafe extern "C" fn() -> godot_real>§godot_arvr_get_reference_frame: Option<unsafe extern "C" fn() -> godot_transform>§godot_arvr_blit: Option<unsafe extern "C" fn(p_eye: c_int, p_render_target: *mut godot_rid, p_screen_rect: *mut godot_rect2)>§godot_arvr_get_texid: Option<unsafe extern "C" fn(p_render_target: *mut godot_rid) -> godot_int>§godot_arvr_add_controller: Option<unsafe extern "C" fn(p_device_name: *mut c_char, p_hand: godot_int, p_tracks_orientation: godot_bool, p_tracks_position: godot_bool) -> godot_int>§godot_arvr_remove_controller: Option<unsafe extern "C" fn(p_controller_id: godot_int)>§godot_arvr_set_controller_transform: Option<unsafe extern "C" fn(p_controller_id: godot_int, p_transform: *mut godot_transform, p_tracks_orientation: godot_bool, p_tracks_position: godot_bool)>§godot_arvr_set_controller_button: Option<unsafe extern "C" fn(p_controller_id: godot_int, p_button: godot_int, p_is_pressed: godot_bool)>§godot_arvr_set_controller_axis: Option<unsafe extern "C" fn(p_controller_id: godot_int, p_exis: godot_int, p_value: godot_real, p_can_be_negative: godot_bool)>§godot_arvr_get_controller_rumble: Option<unsafe extern "C" fn(p_controller_id: godot_int) -> godot_real>

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.