pub struct EventReader<T, S: Settings>(/* private fields */);
Expand description
See mpmc documentation.
Implementations§
Source§impl<T, S: Settings> EventReader<T, S>
impl<T, S: Settings> EventReader<T, S>
pub fn new(event_queue: &mut EventQueue<T, S>) -> Self
pub fn update_position(&mut self)
pub fn iter(&mut self) -> Iter<'_, T, S>
Auto Trait Implementations§
impl<T, S> Freeze for EventReader<T, S>
impl<T, S> !RefUnwindSafe for EventReader<T, S>
impl<T, S> Send for EventReader<T, S>
impl<T, S> !Sync for EventReader<T, S>
impl<T, S> Unpin for EventReader<T, S>
impl<T, S> !UnwindSafe for EventReader<T, S>
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