hide parsing related types further inwards

This commit is contained in:
MaxOhn
2021-02-23 20:27:52 +01:00
parent 00a8b990d0
commit f3d097cec5
21 changed files with 54 additions and 24 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
#![cfg(feature = "all_included")]
use super::super::DifficultyAttributes;
use crate::Pos2;
use crate::parse::Pos2;
mod difficulty_object;
mod osu_object;
+5 -1
View File
@@ -1,7 +1,11 @@
use super::super::super::DifficultyAttributes;
use super::slider_state::SliderState;
use crate::{curve::Curve, Beatmap, HitObject, HitObjectKind, PathType, Pos2};
use crate::{
curve::Curve,
parse::{HitObject, HitObjectKind, PathType, Pos2},
Beatmap,
};
const LEGACY_LAST_TICK_OFFSET: f32 = 36.0;
@@ -44,7 +44,10 @@ impl<'p> SliderState<'p> {
#[cfg(test)]
mod test {
use crate::{Beatmap, DifficultyPoint, TimingPoint};
use crate::{
parse::{DifficultyPoint, TimingPoint},
Beatmap,
};
use super::SliderState;
+5 -1
View File
@@ -1,7 +1,11 @@
use super::super::super::DifficultyAttributes;
use super::slider_state::SliderState;
use crate::{curve::Curve, Beatmap, HitObject, HitObjectKind, PathType, Pos2};
use crate::{
curve::Curve,
parse::{HitObject, HitObjectKind, PathType, Pos2},
Beatmap,
};
const LEGACY_LAST_TICK_OFFSET: f32 = 36.0;
+4 -1
View File
@@ -44,7 +44,10 @@ impl<'p> SliderState<'p> {
#[cfg(test)]
mod test {
use crate::{Beatmap, DifficultyPoint, TimingPoint};
use crate::{
parse::{DifficultyPoint, TimingPoint},
Beatmap,
};
use super::SliderState;
@@ -1,4 +1,4 @@
use crate::HitObject;
use crate::parse::HitObject;
use std::borrow::Cow;
@@ -16,7 +16,10 @@ use skill::Skill;
use skill_kind::SkillKind;
use slider_state::SliderState;
use crate::{Beatmap, HitObject, HitObjectKind, Mods, StarResult, Strains};
use crate::{
parse::{HitObject, HitObjectKind},
Beatmap, Mods, StarResult, Strains,
};
use std::borrow::Cow;