[][src]Struct ovrt_sys::types::OVRDeviceUpdate

pub struct OVRDeviceUpdate {
    pub active: bool,
    pub pos: Pos,
    pub rot: Rot,
    pub trigger_down: bool,
    pub window_move_down: bool,
    pub edit_mode_down: bool,
    pub trackpad_x: f64,
    pub trackpad_y: f64,
}

OVRDeviceUpdate.

Fields

active: bool

If this is the active controller. (Always true for HMD).

pos: Posrot: Rottrigger_down: bool

If trigger bind is pressed.

window_move_down: bool

If window move bind is pressed.

edit_mode_down: bool

If edit mode bind is pressed.

trackpad_x: f64

Trackpad X tocuh position. (Left/Right)

trackpad_y: f64

Trackpad Y touch position. (Up/Down)

Trait Implementations

impl Clone for OVRDeviceUpdate[src]

impl Debug for OVRDeviceUpdate[src]

impl Default for OVRDeviceUpdate[src]

impl<'de> Deserialize<'de> for OVRDeviceUpdate[src]

impl PartialEq<OVRDeviceUpdate> for OVRDeviceUpdate[src]

impl PartialOrd<OVRDeviceUpdate> for OVRDeviceUpdate[src]

impl Serialize for OVRDeviceUpdate[src]

impl StructuralPartialEq for OVRDeviceUpdate[src]

Auto Trait Implementations

impl RefUnwindSafe for OVRDeviceUpdate

impl Send for OVRDeviceUpdate

impl Sync for OVRDeviceUpdate

impl Unpin for OVRDeviceUpdate

impl UnwindSafe for OVRDeviceUpdate

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.