[]Struct openxr::PerfSettingsLevelEXT

#[repr(transparent)]
pub struct PerfSettingsLevelEXT(_);

Methods

impl PerfSettingsLevelEXT

pub const POWER_SAVINGS: PerfSettingsLevelEXT

Performance settings hint used by the application to indicate that it enters a non-XR section (head-locked / static screen), during which power savings are to be prioritized

pub const SUSTAINED_LOW: PerfSettingsLevelEXT

Performance settings hint used by the application to indicate that it enters a low and stable complexity section, during which reducing power is more important than occasional late rendering frames

pub const SUSTAINED_HIGH: PerfSettingsLevelEXT

Performance settings hint used by the application to indicate that it enters a high or dynamic complexity section, during which the XR Runtime strives for consistent XR compositing and frame rendering within a thermally sustainable range

pub const BOOST: PerfSettingsLevelEXT

Performance settings hint used by the application to indicate that the application enters a section with very high complexity, during which the XR Runtime is allowed to step up beyond the thermally sustainable range

pub fn from_raw(x: i32) -> PerfSettingsLevelEXT

pub fn into_raw(self) -> i32

Trait Implementations

impl Debug for PerfSettingsLevelEXT

impl Copy for PerfSettingsLevelEXT

impl Clone for PerfSettingsLevelEXT

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for PerfSettingsLevelEXT

impl PartialEq<PerfSettingsLevelEXT> for PerfSettingsLevelEXT

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug
[src]

default fn is<T>() -> bool where
    T: Scalar
[src]

Tests if Self the same as the type T Read more

impl<T> Same for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>,