pub fn draw<D>(draw: D) -> impl Drawwhere D: Fn(Frame<'_, '_>),
Helper function to create a Draw implementer from a function.
Draw