osu: split into versions, finished oppai version

This commit is contained in:
MaxOhn
2021-01-15 01:12:10 +01:00
parent 2d975ff21c
commit 43cf973197
20 changed files with 2075 additions and 220 deletions
+8 -2
View File
@@ -96,8 +96,14 @@ impl ops::AddAssign for Pos2 {
}
}
impl fmt::Debug for Pos2 {
impl fmt::Display for Pos2 {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "({},{})", self.x, self.y)
write!(f, "{:?}", self)
}
}
impl fmt::Debug for Pos2 {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "({}, {})", self.x, self.y)
}
}