Struct openxr_sys::FoveationConfigurationHTC
source · #[repr(C)]pub struct FoveationConfigurationHTC {
pub level: FoveationLevelHTC,
pub clear_fov_degree: f32,
pub focal_center_offset: Vector2f,
}
Expand description
See XrFoveationConfigurationHTC - defined by XR_HTC_foveation
Fields§
§level: FoveationLevelHTC
§clear_fov_degree: f32
§focal_center_offset: Vector2f
Trait Implementations§
source§impl Clone for FoveationConfigurationHTC
impl Clone for FoveationConfigurationHTC
source§fn clone(&self) -> FoveationConfigurationHTC
fn clone(&self) -> FoveationConfigurationHTC
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FoveationConfigurationHTC
impl Debug for FoveationConfigurationHTC
source§impl PartialEq for FoveationConfigurationHTC
impl PartialEq for FoveationConfigurationHTC
source§fn eq(&self, other: &FoveationConfigurationHTC) -> bool
fn eq(&self, other: &FoveationConfigurationHTC) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FoveationConfigurationHTC
impl StructuralPartialEq for FoveationConfigurationHTC
Auto Trait Implementations§
impl RefUnwindSafe for FoveationConfigurationHTC
impl Send for FoveationConfigurationHTC
impl Sync for FoveationConfigurationHTC
impl Unpin for FoveationConfigurationHTC
impl UnwindSafe for FoveationConfigurationHTC
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