docs cleanup

This commit is contained in:
MaxOhn
2021-01-29 02:01:08 +01:00
parent 8f6de43091
commit 1fd7777fad
6 changed files with 62 additions and 55 deletions
+4
View File
@@ -69,6 +69,7 @@ macro_rules! section {
};
}
/// The mode of a beatmap.
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)]
pub enum GameMode {
STD = 0,
@@ -83,6 +84,8 @@ impl Default for GameMode {
}
}
/// The main beatmap struct containing all data relevant
/// for difficulty and pp calculation
#[derive(Clone, Default, Debug)]
pub struct Beatmap {
pub mode: GameMode,
@@ -558,6 +561,7 @@ fn split_colon(line: &str) -> Option<(&str, &str)> {
Some((split.next()?, split.next()?.trim()))
}
/// The type of curve of a slider.
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
pub enum PathType {
Catmull = 0,