Struct moa_host::EventReceiver
source · pub struct EventReceiver<T> {
queue: Arc<Mutex<VecDeque<T>>>,
}
Fields§
§queue: Arc<Mutex<VecDeque<T>>>
Implementations§
Auto Trait Implementations§
impl<T> Freeze for EventReceiver<T>
impl<T> RefUnwindSafe for EventReceiver<T>
impl<T> Send for EventReceiver<T>where
T: Send,
impl<T> Sync for EventReceiver<T>where
T: Send,
impl<T> Unpin for EventReceiver<T>
impl<T> UnwindSafe for EventReceiver<T>
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