pub struct GuiRect { pub corners: Corners<(f32, f32)>, pub corners_radius: Corners, pub sides_inset: Sides, pub border: f32, pub border_color: wgpu::Color, pub fill_color: wgpu::Color, pub fill_texture: Option, } pub struct Corners { pub top_left: T, pub top_right: T, pub bottom_right: T, pub bottom_left: T, } pub struct Sides { pub top: T, pub right: T, pub bottom: T, pub left: T, }