Skip to main content

ferroui_base/threading/
dispatcher_event_args.rs

1use std::sync::Arc;
2
3use super::Dispatcher;
4
5/// Base contract for all event arguments associated with a [`Dispatcher`].
6pub trait DispatcherEventArgs {
7    /// The dispatcher associated with this event.
8    fn dispatcher(&self) -> &Arc<Dispatcher>;
9}