macro_rules! emit { ($source: expr, $event: expr) => { ... }; }
Emit event. As methods can’t do mutable reborrowing correctly, you should use this macro.