pub struct EventSource { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl EventProducer for EventSource
impl EventProducer for EventSource
Source§fn set_dispatcher(&mut self, dispatcher: Dispatcher)
fn set_dispatcher(&mut self, dispatcher: Dispatcher)
Whent registered, event producers will receive a call on this method with the
dispatcher
they can use to emit events.Auto Trait Implementations§
impl Freeze for EventSource
impl !RefUnwindSafe for EventSource
impl Send for EventSource
impl Sync for EventSource
impl Unpin for EventSource
impl !UnwindSafe for EventSource
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