Struct openxr::PerfSettingsEXT
source · pub struct PerfSettingsEXT<'a>(/* private fields */);
Implementations§
source§impl<'a> PerfSettingsEXT<'a>
impl<'a> PerfSettingsEXT<'a>
sourcepub unsafe fn new(inner: &'a EventDataPerfSettingsEXT) -> Self
pub unsafe fn new(inner: &'a EventDataPerfSettingsEXT) -> Self
§Safety
inner
must be valid event data according to the OpenXR spec. Refer to
sys::EventDataPerfSettingsEXT
for more information.
pub fn domain(self) -> PerfSettingsDomainEXT
pub fn sub_domain(self) -> PerfSettingsSubDomainEXT
pub fn from_level(self) -> PerfSettingsNotificationLevelEXT
pub fn to_level(self) -> PerfSettingsNotificationLevelEXT
Trait Implementations§
source§impl<'a> Clone for PerfSettingsEXT<'a>
impl<'a> Clone for PerfSettingsEXT<'a>
source§fn clone(&self) -> PerfSettingsEXT<'a>
fn clone(&self) -> PerfSettingsEXT<'a>
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 moreimpl<'a> Copy for PerfSettingsEXT<'a>
Auto Trait Implementations§
impl<'a> Freeze for PerfSettingsEXT<'a>
impl<'a> RefUnwindSafe for PerfSettingsEXT<'a>
impl<'a> !Send for PerfSettingsEXT<'a>
impl<'a> !Sync for PerfSettingsEXT<'a>
impl<'a> Unpin for PerfSettingsEXT<'a>
impl<'a> UnwindSafe for PerfSettingsEXT<'a>
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
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)
🔬This is a nightly-only experimental API. (
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)