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 duplicate 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