pub struct EventWriter<'a, E: 'static + Send + Sync> { /* private fields */ }Expand description
Write handle for Events<E>.
Implementations§
Source§impl<'a, E: 'static + Send + Sync> EventWriter<'a, E>
impl<'a, E: 'static + Send + Sync> EventWriter<'a, E>
Sourcepub fn send_batch(&mut self, it: impl IntoIterator<Item = E>)
pub fn send_batch(&mut self, it: impl IntoIterator<Item = E>)
Sends events from an iterator.
Auto Trait Implementations§
impl<'a, E> Freeze for EventWriter<'a, E>
impl<'a, E> RefUnwindSafe for EventWriter<'a, E>where
E: RefUnwindSafe,
impl<'a, E> Send for EventWriter<'a, E>
impl<'a, E> Sync for EventWriter<'a, E>
impl<'a, E> Unpin for EventWriter<'a, E>
impl<'a, E> UnsafeUnpin for EventWriter<'a, E>
impl<'a, E> !UnwindSafe for EventWriter<'a, E>
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