pub const fn rect(x: f32, y: f32, width: f32, height: f32) -> Rect
Shorthand for Rect::new(Point::new(x, y), Size::new(width, height)).
Rect::new(Point::new(x, y), Size::new(width, height))