Macro on_state_change

Source
macro_rules! on_state_change {
    ($type:ty, $callback:expr) => { ... };
}