pub fn on_draw<T, V>(
content: V,
on_draw: impl FnMut(&mut DrawCx<'_, '_>, &mut T) + 'static,
) -> DrawHandler<T, V>
Expand description
Create a new DrawHandler
.
pub fn on_draw<T, V>(
content: V,
on_draw: impl FnMut(&mut DrawCx<'_, '_>, &mut T) + 'static,
) -> DrawHandler<T, V>
Create a new DrawHandler
.