pub type OnRewrite = Rc<dyn Fn(usize, String, &mut Window, &mut App)>;
Handed a fence’s block index and its new code — see FenceHost::rewrite.
FenceHost::rewrite
pub struct OnRewrite { /* private fields */ }