pub struct Mania;
Expand description
Marker type for GameMode::Mania
.
Trait Implementations§
source§impl IGameMode for Mania
impl IGameMode for Mania
§type DifficultyAttributes = ManiaDifficultyAttributes
type DifficultyAttributes = ManiaDifficultyAttributes
The resulting type of a difficulty calculation.
§type Strains = ManiaStrains
type Strains = ManiaStrains
The resulting type of a strain calculation.
§type Performance<'map> = ManiaPerformance<'map>
type Performance<'map> = ManiaPerformance<'map>
The type of a performance calculator.
§type GradualDifficulty = ManiaGradualDifficulty
type GradualDifficulty = ManiaGradualDifficulty
The type of a gradual difficulty calculator.
§type GradualPerformance = ManiaGradualPerformance
type GradualPerformance = ManiaGradualPerformance
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: &ManiaBeatmap<'_>
) -> Self::DifficultyAttributes
fn difficulty( difficulty: &Difficulty, converted: &ManiaBeatmap<'_> ) -> Self::DifficultyAttributes
Perform a difficulty calculation for a
Converted
beatmap and
process the final skill values.source§fn strains(
difficulty: &Difficulty,
converted: &ManiaBeatmap<'_>
) -> Self::Strains
fn strains( difficulty: &Difficulty, converted: &ManiaBeatmap<'_> ) -> Self::Strains
Perform a difficulty calculation for a
Converted
beatmap without
processing the final skill values.source§fn performance(map: ManiaBeatmap<'_>) -> Self::Performance<'_>
fn performance(map: ManiaBeatmap<'_>) -> Self::Performance<'_>
Create a performance calculator for a
Converted
beatmap.source§fn gradual_difficulty(
difficulty: Difficulty,
map: &ManiaBeatmap<'_>
) -> Self::GradualDifficulty
fn gradual_difficulty( difficulty: Difficulty, map: &ManiaBeatmap<'_> ) -> Self::GradualDifficulty
Create a gradual difficulty calculator for a
Converted
beatmap.source§fn gradual_performance(
difficulty: Difficulty,
map: &ManiaBeatmap<'_>
) -> Self::GradualPerformance
fn gradual_performance( difficulty: Difficulty, map: &ManiaBeatmap<'_> ) -> Self::GradualPerformance
Create a gradual performance calculator for a
Converted
beatmap.source§impl<'map> IntoModePerformance<'map, Mania> for &'map Converted<'_, Mania>
impl<'map> IntoModePerformance<'map, Mania> for &'map Converted<'_, Mania>
fn into_performance(self) -> <Mania as IGameMode>::Performance<'map>
source§impl<'map> IntoModePerformance<'map, Mania> for Converted<'map, Mania>
impl<'map> IntoModePerformance<'map, Mania> for Converted<'map, Mania>
fn into_performance(self) -> <Mania as IGameMode>::Performance<'map>
source§impl<'map> IntoModePerformance<'map, Mania> for ManiaDifficultyAttributes
impl<'map> IntoModePerformance<'map, Mania> for ManiaDifficultyAttributes
fn into_performance(self) -> <Mania as IGameMode>::Performance<'map>
source§impl<'map> IntoModePerformance<'map, Mania> for ManiaPerformanceAttributes
impl<'map> IntoModePerformance<'map, Mania> for ManiaPerformanceAttributes
fn into_performance(self) -> <Mania as IGameMode>::Performance<'map>
Auto Trait Implementations§
impl Freeze for Mania
impl RefUnwindSafe for Mania
impl Send for Mania
impl Sync for Mania
impl Unpin for Mania
impl UnwindSafe for Mania
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