Struct openxr::EventsLost
source · pub struct EventsLost<'a>(/* private fields */);
Implementations§
source§impl<'a> EventsLost<'a>
impl<'a> EventsLost<'a>
sourcepub unsafe fn new(inner: &'a EventDataEventsLost) -> Self
pub unsafe fn new(inner: &'a EventDataEventsLost) -> Self
§Safety
inner
must be valid event data according to the OpenXR spec. Refer to
sys::EventDataEventsLost
for more information.
pub fn lost_event_count(self) -> u32
Trait Implementations§
source§impl<'a> Clone for EventsLost<'a>
impl<'a> Clone for EventsLost<'a>
source§fn clone(&self) -> EventsLost<'a>
fn clone(&self) -> EventsLost<'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 EventsLost<'a>
Auto Trait Implementations§
impl<'a> Freeze for EventsLost<'a>
impl<'a> RefUnwindSafe for EventsLost<'a>
impl<'a> !Send for EventsLost<'a>
impl<'a> !Sync for EventsLost<'a>
impl<'a> Unpin for EventsLost<'a>
impl<'a> UnwindSafe for EventsLost<'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
)