[][src]Struct openxr_sys::PerfSettingsLevelEXT

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

Methods

impl PerfSettingsLevelEXT[src]

pub const POWER_SAVINGS: PerfSettingsLevelEXT[src]

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[src]

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[src]

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[src]

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) -> Self[src]

pub fn into_raw(self) -> i32[src]

Trait Implementations

impl Copy for PerfSettingsLevelEXT[src]

impl PartialEq<PerfSettingsLevelEXT> for PerfSettingsLevelEXT[src]

impl Clone for PerfSettingsLevelEXT[src]

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

Performs copy-assignment from source. Read more

impl Eq for PerfSettingsLevelEXT[src]

impl Debug for PerfSettingsLevelEXT[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for 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.