Struct openxr::PerfSettingsLevelEXT
source · pub struct PerfSettingsLevelEXT(/* private fields */);
Expand description
Implementations§
source§impl PerfSettingsLevelEXT
impl PerfSettingsLevelEXT
sourcepub const POWER_SAVINGS: 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
sourcepub const SUSTAINED_LOW: PerfSettingsLevelEXT = _
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
sourcepub const SUSTAINED_HIGH: PerfSettingsLevelEXT = _
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
sourcepub const BOOST: PerfSettingsLevelEXT = _
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§
source§impl Clone for PerfSettingsLevelEXT
impl Clone for PerfSettingsLevelEXT
source§fn clone(&self) -> PerfSettingsLevelEXT
fn clone(&self) -> PerfSettingsLevelEXT
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PerfSettingsLevelEXT
impl Debug for PerfSettingsLevelEXT
source§impl PartialEq for PerfSettingsLevelEXT
impl PartialEq for PerfSettingsLevelEXT
source§fn eq(&self, other: &PerfSettingsLevelEXT) -> bool
fn eq(&self, other: &PerfSettingsLevelEXT) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for PerfSettingsLevelEXT
impl Eq for PerfSettingsLevelEXT
impl StructuralPartialEq for PerfSettingsLevelEXT
Auto Trait Implementations§
impl Freeze for PerfSettingsLevelEXT
impl RefUnwindSafe for PerfSettingsLevelEXT
impl Send for PerfSettingsLevelEXT
impl Sync for PerfSettingsLevelEXT
impl Unpin for PerfSettingsLevelEXT
impl UnwindSafe for PerfSettingsLevelEXT
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
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)
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)
clone_to_uninit
)