pub struct Osu;
Expand description
Marker type for GameMode::Osu
.
Trait Implementations§
source§impl IGameMode for Osu
impl IGameMode for Osu
§type DifficultyAttributes = OsuDifficultyAttributes
type DifficultyAttributes = OsuDifficultyAttributes
The resulting type of a difficulty calculation.
§type Strains = OsuStrains
type Strains = OsuStrains
The resulting type of a strain calculation.
§type Performance<'map> = OsuPerformance<'map>
type Performance<'map> = OsuPerformance<'map>
The type of a performance calculator.
§type GradualDifficulty = OsuGradualDifficulty
type GradualDifficulty = OsuGradualDifficulty
The type of a gradual difficulty calculator.
§type GradualPerformance = OsuGradualPerformance
type GradualPerformance = OsuGradualPerformance
The type of a gradual performance calculator.
source§fn check_convert(map: &Beatmap) -> ConvertStatus
fn check_convert(map: &Beatmap) -> ConvertStatus
Check whether the map’s mode can be converted to the current type.
source§fn try_convert(map: &mut Beatmap) -> ConvertStatus
fn try_convert(map: &mut Beatmap) -> ConvertStatus
Attempt to convert a beatmap. Read more
source§fn difficulty(
difficulty: &Difficulty,
converted: &OsuBeatmap<'_>
) -> Self::DifficultyAttributes
fn difficulty( difficulty: &Difficulty, converted: &OsuBeatmap<'_> ) -> Self::DifficultyAttributes
Perform a difficulty calculation for a
Converted
beatmap and
process the final skill values.source§fn strains(difficulty: &Difficulty, converted: &OsuBeatmap<'_>) -> Self::Strains
fn strains(difficulty: &Difficulty, converted: &OsuBeatmap<'_>) -> Self::Strains
Perform a difficulty calculation for a
Converted
beatmap without
processing the final skill values.source§fn performance(map: OsuBeatmap<'_>) -> Self::Performance<'_>
fn performance(map: OsuBeatmap<'_>) -> Self::Performance<'_>
Create a performance calculator for a
Converted
beatmap.source§fn gradual_difficulty(
difficulty: Difficulty,
map: &OsuBeatmap<'_>
) -> Self::GradualDifficulty
fn gradual_difficulty( difficulty: Difficulty, map: &OsuBeatmap<'_> ) -> Self::GradualDifficulty
Create a gradual difficulty calculator for a
Converted
beatmap.source§fn gradual_performance(
difficulty: Difficulty,
map: &OsuBeatmap<'_>
) -> Self::GradualPerformance
fn gradual_performance( difficulty: Difficulty, map: &OsuBeatmap<'_> ) -> Self::GradualPerformance
Create a gradual performance calculator for a
Converted
beatmap.source§impl<'map> IntoModePerformance<'map, Osu> for &'map Converted<'_, Osu>
impl<'map> IntoModePerformance<'map, Osu> for &'map Converted<'_, Osu>
fn into_performance(self) -> <Osu as IGameMode>::Performance<'map>
source§impl<'map> IntoModePerformance<'map, Osu> for Converted<'map, Osu>
impl<'map> IntoModePerformance<'map, Osu> for Converted<'map, Osu>
fn into_performance(self) -> <Osu as IGameMode>::Performance<'map>
source§impl<'map> IntoModePerformance<'map, Osu> for OsuDifficultyAttributes
impl<'map> IntoModePerformance<'map, Osu> for OsuDifficultyAttributes
fn into_performance(self) -> <Osu as IGameMode>::Performance<'map>
source§impl<'map> IntoModePerformance<'map, Osu> for OsuPerformanceAttributes
impl<'map> IntoModePerformance<'map, Osu> for OsuPerformanceAttributes
fn into_performance(self) -> <Osu as IGameMode>::Performance<'map>
Auto Trait Implementations§
impl Freeze for Osu
impl RefUnwindSafe for Osu
impl Send for Osu
impl Sync for Osu
impl Unpin for Osu
impl UnwindSafe for Osu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more