pub trait RectExt {
// Required methods
fn centered(self, other: Rect) -> Rect;
fn scaled(self, x_scale: f64, y_scale: f64) -> Rect;
}
pub trait RectExt {
// Required methods
fn centered(self, other: Rect) -> Rect;
fn scaled(self, x_scale: f64, y_scale: f64) -> Rect;
}