This commit is contained in:
2026-07-14 12:04:07 -04:00
parent ff61fbfc90
commit 7747eeae7c
5 changed files with 22 additions and 7 deletions
+6
View File
@@ -41,6 +41,12 @@ impl From<(u16, u16)> for Point {
}
}
impl From<u16> for Point {
fn from(value: u16) -> Self {
Self { x: value, y: value }
}
}
impl From<Rect> for Point {
fn from(value: Rect) -> Self {
Self {