pub fn update_bounds(bounds: Rect, (x, y): Point) -> Rect
updateBounds: the rectangle extended to include p.
updateBounds
p