#[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§

source§

impl Clone for godot_gdnative_ext_arvr_api_struct

source§

fn clone(&self) -> godot_gdnative_ext_arvr_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_ext_arvr_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_ext_arvr_api_struct

source§

fn default() -> Self

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

impl Copy for godot_gdnative_ext_arvr_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.