pub type Rewrite = Rc<dyn Fn(String, &mut Window, &mut App)>;
Replaces the painted fence’s code — see Fence::rewrite.
Fence::rewrite
pub struct Rewrite { /* private fields */ }