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