pub type DrawFn = Rc<dyn Fn(Rect, &mut Scene)>;
Custom drawing callback: receives the element’s absolute frame in logical pixels.
pub struct DrawFn { /* private fields */ }