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
@@ -291,3 +291,9 @@ impl TaikoPerformanceAttributes {
self.pp
}
}
impl From<TaikoPerformanceAttributes> for TaikoDifficultyAttributes {
fn from(attributes: TaikoPerformanceAttributes) -> Self {
attributes.attributes
}
}