[−]Struct openxr::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
fn clone(&self) -> 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
fn eq(&self, other: &PerfSettingsLevelEXT) -> bool
fn ne(&self, other: &PerfSettingsLevelEXT) -> bool
Auto Trait Implementations
impl Send for PerfSettingsLevelEXT
impl Sync for PerfSettingsLevelEXT
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Any + Debug,
[src]
T: Copy + PartialEq<T> + Any + Debug,
impl<T> Same for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,