pub trait RectExt {
type Point;
// Required methods
fn top_left(&self) -> Self::Point;
fn top_right(&self) -> Self::Point;
fn bottom_left(&self) -> Self::Point;
fn bottom_right(&self) -> Self::Point;
}
pub trait RectExt {
type Point;
// Required methods
fn top_left(&self) -> Self::Point;
fn top_right(&self) -> Self::Point;
fn bottom_left(&self) -> Self::Point;
fn bottom_right(&self) -> Self::Point;
}