add GradualPerformance::len methods

This commit is contained in:
MaxOhn
2024-03-11 17:58:40 +01:00
parent c73976cf8a
commit 90196329c1
5 changed files with 30 additions and 0 deletions
+5
View File
@@ -120,6 +120,11 @@ impl OsuGradualPerformance {
Some(performance)
}
/// Returns the amount of remaining objects.
pub fn len(&self) -> usize {
self.difficulty.len()
}
}
#[cfg(test)]