macro_rules! make_render_thread_state_change { ($fn_name:ident, $state:ident, $sink_method:ident) => { ... }; }