Struct openxr::FoveationModeHTC
source · pub struct FoveationModeHTC(/* private fields */);
Expand description
Implementations§
source§impl FoveationModeHTC
impl FoveationModeHTC
sourcepub const DISABLE: FoveationModeHTC = _
pub const DISABLE: FoveationModeHTC = _
No foveation
sourcepub const FIXED: FoveationModeHTC = _
pub const FIXED: FoveationModeHTC = _
Apply system default setting with fixed clear FOV and periphery quality.
sourcepub const DYNAMIC: FoveationModeHTC = _
pub const DYNAMIC: FoveationModeHTC = _
Allow system to set foveation dynamically according realtime system metric or other extensions.
sourcepub const CUSTOM: FoveationModeHTC = _
pub const CUSTOM: FoveationModeHTC = _
Allow application to set foveation with desired clear FOV, periphery quality, and focal center offset.
pub fn from_raw(x: i32) -> FoveationModeHTC
pub fn into_raw(self) -> i32
Trait Implementations§
source§impl Clone for FoveationModeHTC
impl Clone for FoveationModeHTC
source§fn clone(&self) -> FoveationModeHTC
fn clone(&self) -> FoveationModeHTC
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 FoveationModeHTC
impl Debug for FoveationModeHTC
source§impl PartialEq for FoveationModeHTC
impl PartialEq for FoveationModeHTC
source§fn eq(&self, other: &FoveationModeHTC) -> bool
fn eq(&self, other: &FoveationModeHTC) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FoveationModeHTC
impl Eq for FoveationModeHTC
impl StructuralPartialEq for FoveationModeHTC
Auto Trait Implementations§
impl Freeze for FoveationModeHTC
impl RefUnwindSafe for FoveationModeHTC
impl Send for FoveationModeHTC
impl Sync for FoveationModeHTC
impl Unpin for FoveationModeHTC
impl UnwindSafe for FoveationModeHTC
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)