#[repr(C)]pub struct VrDeviceInfo {
pub hResolution: c_int,
pub vResolution: c_int,
pub hScreenSize: f32,
pub vScreenSize: f32,
pub eyeToScreenDistance: f32,
pub lensSeparationDistance: f32,
pub interpupillaryDistance: f32,
pub lensDistortionValues: [f32; 4],
pub chromaAbCorrection: [f32; 4],
}Fields§
§hResolution: c_int§vResolution: c_int§hScreenSize: f32§vScreenSize: f32§eyeToScreenDistance: f32§lensSeparationDistance: f32§interpupillaryDistance: f32§lensDistortionValues: [f32; 4]§chromaAbCorrection: [f32; 4]Trait Implementations§
Source§impl Clone for VrDeviceInfo
impl Clone for VrDeviceInfo
Source§fn clone(&self) -> VrDeviceInfo
fn clone(&self) -> VrDeviceInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VrDeviceInfo
Source§impl Debug for VrDeviceInfo
impl Debug for VrDeviceInfo
Source§impl Default for VrDeviceInfo
impl Default for VrDeviceInfo
Source§fn default() -> VrDeviceInfo
fn default() -> VrDeviceInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for VrDeviceInfo
impl PartialEq for VrDeviceInfo
Source§fn eq(&self, other: &VrDeviceInfo) -> bool
fn eq(&self, other: &VrDeviceInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VrDeviceInfo
Auto Trait Implementations§
impl Freeze for VrDeviceInfo
impl RefUnwindSafe for VrDeviceInfo
impl Send for VrDeviceInfo
impl Sync for VrDeviceInfo
impl Unpin for VrDeviceInfo
impl UnsafeUnpin for VrDeviceInfo
impl UnwindSafe for VrDeviceInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more