pub trait HandleMut {
type EventType: Event;
// Required method
fn handle_mut(&mut self, event: Self::EventType);
}Expand description
Trait for an object that can subscribe to a producer for specific events and mutate itself in its handler function.