added various From<_> implementations

This commit is contained in:
MaxOhn
2021-11-13 20:46:23 +01:00
parent 1a7127be7f
commit 0a0dd025f7
6 changed files with 103 additions and 6 deletions
+6
View File
@@ -197,3 +197,9 @@ impl ManiaPerformanceAttributes {
self.pp
}
}
impl From<ManiaPerformanceAttributes> for ManiaDifficultyAttributes {
fn from(attributes: ManiaPerformanceAttributes) -> Self {
attributes.attributes
}
}