pub trait RectExt {
fn touches(&self, other: Self) -> bool;
fn overlaps_vertically(&self, other: Self) -> bool;
fn horizontal_distance(&self, other: Self) -> i32;
}
pub trait RectExt {
fn touches(&self, other: Self) -> bool;
fn overlaps_vertically(&self, other: Self) -> bool;
fn horizontal_distance(&self, other: Self) -> i32;
}