[][src]Struct openvr::render_models::ComponentState

#[repr(C)]pub struct ComponentState {
    pub tracking_to_component_render_model: [[f32; 4]; 3],
    pub tracking_to_component_local: [[f32; 4]; 3],
    pub properties: VRComponentProperties,
}

Fields

tracking_to_component_render_model: [[f32; 4]; 3]tracking_to_component_local: [[f32; 4]; 3]properties: VRComponentProperties

Methods

impl ComponentState[src]

pub fn is_static(&self) -> bool[src]

pub fn is_visible(&self) -> bool[src]

pub fn is_touched(&self) -> bool[src]

pub fn is_pressed(&self) -> bool[src]

pub fn is_scrolled(&self) -> bool[src]

Trait Implementations

impl Clone for ComponentState[src]

impl Copy for ComponentState[src]

impl Debug for ComponentState[src]

Auto Trait Implementations

impl RefUnwindSafe for ComponentState

impl Send for ComponentState

impl Sync for ComponentState

impl Unpin for ComponentState

impl UnwindSafe for ComponentState

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.