struct
Rect
pub struct Rect {
pub x: f32,
pub y: f32,
pub w: f32,
pub h: f32,
}Axis-aligned rectangle (also used for accessibility bounds).
Fields
Methods
new
pub const fn new(x: f32, y: f32, w: f32, h: f32) -> RectThe rectangle at x, y, w wide and h high.