pub struct Catch;Expand description
Marker type for GameMode::Catch.
Implementations§
Trait Implementations§
Source§impl HitResultGenerator<Catch> for Closest
impl HitResultGenerator<Catch> for Closest
fn generate_hitresults(inspect: InspectCatchPerformance<'_>) -> CatchHitResults
Source§impl<Osu, Taiko, Catch, Mania> HitResultGenerator<Catch> for Composable<Osu, Taiko, Catch, Mania>where
Catch: HitResultGenerator<Catch>,
impl<Osu, Taiko, Catch, Mania> HitResultGenerator<Catch> for Composable<Osu, Taiko, Catch, Mania>where
Catch: HitResultGenerator<Catch>,
fn generate_hitresults( inspect: <Catch as InspectablePerformance>::InspectPerformance<'_>, ) -> <Catch as IGameMode>::HitResults
Source§impl HitResultGenerator<Catch> for Fast
impl HitResultGenerator<Catch> for Fast
fn generate_hitresults(inspect: InspectCatchPerformance<'_>) -> CatchHitResults
Source§impl HitResultGenerator<Catch> for IgnoreAccuracy
impl HitResultGenerator<Catch> for IgnoreAccuracy
fn generate_hitresults(inspect: InspectCatchPerformance<'_>) -> CatchHitResults
Source§impl IGameMode for Catch
impl IGameMode for Catch
Source§type DifficultyAttributes = CatchDifficultyAttributes
type DifficultyAttributes = CatchDifficultyAttributes
The resulting type of a difficulty calculation.
Source§type Strains = CatchStrains
type Strains = CatchStrains
The resulting type of a strain calculation.
Source§type Performance<'map> = CatchPerformance<'map>
type Performance<'map> = CatchPerformance<'map>
The type of a performance calculator.
Source§type HitResults = CatchHitResults
type HitResults = CatchHitResults
The hitresults of a score.
Source§type GradualDifficulty = CatchGradualDifficulty
type GradualDifficulty = CatchGradualDifficulty
The type of a gradual difficulty calculator.
Source§type GradualPerformance = CatchGradualPerformance
type GradualPerformance = CatchGradualPerformance
The type of a gradual performance calculator.
Source§fn difficulty(
difficulty: &Difficulty,
map: &Beatmap,
) -> Result<Self::DifficultyAttributes, ConvertError>
fn difficulty( difficulty: &Difficulty, map: &Beatmap, ) -> Result<Self::DifficultyAttributes, ConvertError>
Perform a difficulty calculation for a
Beatmap and process the
final skill values.Source§fn checked_difficulty(
difficulty: &Difficulty,
map: &Beatmap,
) -> Result<Self::DifficultyAttributes, CalculateError>
fn checked_difficulty( difficulty: &Difficulty, map: &Beatmap, ) -> Result<Self::DifficultyAttributes, CalculateError>
Same as
IGameMode::difficulty but verifies that the Beatmap is
not too suspicious for further calculation.Source§fn strains(
difficulty: &Difficulty,
map: &Beatmap,
) -> Result<Self::Strains, ConvertError>
fn strains( difficulty: &Difficulty, map: &Beatmap, ) -> Result<Self::Strains, ConvertError>
Perform a difficulty calculation for a
Beatmap without processing
the final skill values.Source§fn performance(map: &Beatmap) -> Self::Performance<'_>
fn performance(map: &Beatmap) -> Self::Performance<'_>
Create a performance calculator for a
Beatmap.Source§fn gradual_difficulty(
difficulty: Difficulty,
map: &Beatmap,
) -> Result<Self::GradualDifficulty, ConvertError>
fn gradual_difficulty( difficulty: Difficulty, map: &Beatmap, ) -> Result<Self::GradualDifficulty, ConvertError>
Create a gradual difficulty calculator for a
Beatmap.Source§fn gradual_performance(
difficulty: Difficulty,
map: &Beatmap,
) -> Result<Self::GradualPerformance, ConvertError>
fn gradual_performance( difficulty: Difficulty, map: &Beatmap, ) -> Result<Self::GradualPerformance, ConvertError>
Create a gradual performance calculator for a
Beatmap.Source§impl InspectablePerformance for Catch
impl InspectablePerformance for Catch
type InspectPerformance<'a> = InspectCatchPerformance<'a>
fn inspect_performance<'a>( perf: &'a Self::Performance<'_>, attrs: &'a Self::DifficultyAttributes, ) -> Self::InspectPerformance<'a>
Source§impl<'a> IntoModePerformance<'a, Catch> for Beatmap
impl<'a> IntoModePerformance<'a, Catch> for Beatmap
fn into_performance(self) -> <Catch as IGameMode>::Performance<'a>
Source§impl<'map> IntoModePerformance<'map, Catch> for &'map Beatmap
impl<'map> IntoModePerformance<'map, Catch> for &'map Beatmap
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>
Auto Trait Implementations§
impl Freeze for Catch
impl RefUnwindSafe for Catch
impl Send for Catch
impl Sync for Catch
impl Unpin for Catch
impl UnsafeUnpin 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