Enum openvr_sys2::vr::EVRCompositorTimingMode
source · #[repr(u32)]pub enum EVRCompositorTimingMode {
VRCompositorTimingMode_Implicit,
VRCompositorTimingMode_Explicit_RuntimePerformsPostPresentHandoff,
VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff,
}Expand description
Timing mode passed to SetExplicitTimingMode(); see that function for documentation
Variants§
VRCompositorTimingMode_Implicit
VRCompositorTimingMode_Explicit_RuntimePerformsPostPresentHandoff
VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff
Trait Implementations§
source§impl Clone for EVRCompositorTimingMode
impl Clone for EVRCompositorTimingMode
source§fn clone(&self) -> EVRCompositorTimingMode
fn clone(&self) -> EVRCompositorTimingMode
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 ExternType for EVRCompositorTimingMode
impl ExternType for EVRCompositorTimingMode
source§impl Hash for EVRCompositorTimingMode
impl Hash for EVRCompositorTimingMode
source§impl PartialEq<EVRCompositorTimingMode> for EVRCompositorTimingMode
impl PartialEq<EVRCompositorTimingMode> for EVRCompositorTimingMode
source§fn eq(&self, other: &EVRCompositorTimingMode) -> bool
fn eq(&self, other: &EVRCompositorTimingMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for EVRCompositorTimingMode
impl StructuralEq for EVRCompositorTimingMode
impl StructuralPartialEq for EVRCompositorTimingMode
impl UniquePtrTarget for EVRCompositorTimingMode
impl VectorElement for EVRCompositorTimingMode
impl WeakPtrTarget for EVRCompositorTimingMode
Auto Trait Implementations§
impl RefUnwindSafe for EVRCompositorTimingMode
impl Send for EVRCompositorTimingMode
impl Sync for EVRCompositorTimingMode
impl Unpin for EVRCompositorTimingMode
impl UnwindSafe for EVRCompositorTimingMode
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
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.