Enum webxr_api::events::EventBuffer
source · pub enum EventBuffer {
Buffered(Vec<Event>),
Sink(Sender<Event>),
}
Expand description
Convenience structure for buffering up events when no event callback has been set
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventBuffer
impl !RefUnwindSafe for EventBuffer
impl Send for EventBuffer
impl !Sync for EventBuffer
impl Unpin for EventBuffer
impl UnwindSafe for EventBuffer
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