pub struct EventSender<E: UserEvent> { /* private fields */ }Expand description
Event sender endpoint, creating by super::EventReceiver instance.
Implementations§
Source§impl<E: UserEvent> EventSender<E>
impl<E: UserEvent> EventSender<E>
pub fn send(&self, event_arg: E::Argument) -> EmitResult
Auto Trait Implementations§
impl<E> Freeze for EventSender<E>
impl<E> RefUnwindSafe for EventSender<E>
impl<E> Send for EventSender<E>
impl<E> Sync for EventSender<E>
impl<E> Unpin for EventSender<E>
impl<E> UnwindSafe for EventSender<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