[][src]Struct openhmd_rs::Device

pub struct Device { /* fields omitted */ }

Methods

impl Device[src]

pub fn getf(&self, otype: ohmd_float_value) -> Option<[f32; 16]>[src]

pub fn get_rotation_quat(&self) -> [f32; 4][src]

pub fn get_position_vec(&self) -> [f32; 3][src]

pub fn get_view_matrix_l(&self) -> [f32; 16][src]

pub fn get_view_matrix_r(&self) -> [f32; 16][src]

pub fn get_proj_matrix_l(&self) -> [f32; 16][src]

pub fn get_proj_matrix_r(&self) -> [f32; 16][src]

pub fn get_scr_size_w(&self) -> f32[src]

pub fn get_scr_size_h(&self) -> f32[src]

pub fn get_scr_res_w(&self) -> u32[src]

pub fn get_scr_res_h(&self) -> u32[src]

pub fn get_distortion_k(&self) -> [f32; 4][src]

pub fn get_aberration_k(&self) -> [f32; 3][src]

pub fn setf(
    &self,
    otype: ohmd_float_value,
    value: &mut [f32; 16]
) -> Option<bool>
[src]

pub fn geti(&self, otype: ohmd_int_value) -> Option<i32>[src]

Trait Implementations

impl Drop for Device[src]

Auto Trait Implementations

impl Send for Device

impl Sync for Device

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]