pub struct Catch;Expand description
Marker type for GameMode::Catch.
Implementations§
Trait Implementations§
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 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 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<'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 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