Function part_drawn
pub fn part_drawn(
scene: &mut Scene,
key: PartKey,
draw: impl FnOnce(&mut Scene) -> Vec<Rect>,
)Expand description
part for a draw that knows what it painted only once it has: draw
returns the bounds, under the same contract.