1 2 3 4 5 6 7
#[derive(Default, Clone, Copy, Debug, PartialEq)] pub struct Rect { pub x: f32, pub y: f32, pub width: f32, pub height: f32, }