prelude and transform macro

This commit is contained in:
2025-07-29 19:42:56 +02:00
parent 26eb1679f6
commit 71660418a1
6 changed files with 40 additions and 9 deletions
+12
View File
@@ -139,3 +139,15 @@ impl Position {
}
}
}
impl From<u16> for Position {
fn from(value: u16) -> Self {
Self::Const(value)
}
}
impl From<u16> for Dimension {
fn from(value: u16) -> Self {
Self::Const(value)
}
}