Struct moa_host::EventSender
source · pub struct EventSender<T> {
queue: Arc<Mutex<VecDeque<T>>>,
}
Fields§
§queue: Arc<Mutex<VecDeque<T>>>
Implementations§
source§impl<T> EventSender<T>
impl<T> EventSender<T>
Trait Implementations§
source§impl<T: Clone> Clone for EventSender<T>
impl<T: Clone> Clone for EventSender<T>
source§fn clone(&self) -> EventSender<T>
fn clone(&self) -> EventSender<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for EventSender<T>
impl<T> RefUnwindSafe for EventSender<T>
impl<T> Send for EventSender<T>where
T: Send,
impl<T> Sync for EventSender<T>where
T: Send,
impl<T> Unpin for EventSender<T>
impl<T> UnwindSafe for EventSender<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