Struct rosu_pp::taiko::Taiko

source ·
pub struct Taiko;
Expand description

Marker type for GameMode::Taiko.

Trait Implementations§

source§

impl IGameMode for Taiko

§

type DifficultyAttributes = TaikoDifficultyAttributes

The resulting type of a difficulty calculation.
§

type Strains = TaikoStrains

The resulting type of a strain calculation.
§

type Performance<'map> = TaikoPerformance<'map>

The type of a performance calculator.
§

type GradualDifficulty = TaikoGradualDifficulty

The type of a gradual difficulty calculator.
§

type GradualPerformance = TaikoGradualPerformance

The type of a gradual performance calculator.
source§

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

Attempt to convert a beatmap. Read more
source§

fn difficulty( difficulty: &Difficulty, converted: &TaikoBeatmap<'_> ) -> Self::DifficultyAttributes

Perform a difficulty calculation for a Converted beatmap and process the final skill values.
source§

fn strains( difficulty: &Difficulty, converted: &TaikoBeatmap<'_> ) -> Self::Strains

Perform a difficulty calculation for a Converted beatmap without processing the final skill values.
source§

fn performance(map: TaikoBeatmap<'_>) -> Self::Performance<'_>

Create a performance calculator for a Converted beatmap.
source§

fn gradual_difficulty( difficulty: Difficulty, map: &TaikoBeatmap<'_> ) -> Self::GradualDifficulty

Create a gradual difficulty calculator for a Converted beatmap.
source§

fn gradual_performance( difficulty: Difficulty, map: &TaikoBeatmap<'_> ) -> Self::GradualPerformance

Create a gradual performance calculator for a Converted beatmap.
source§

impl<'map> IntoModePerformance<'map, Taiko> for &'map Converted<'_, Taiko>

source§

impl<'map> IntoModePerformance<'map, Taiko> for Converted<'map, Taiko>

source§

impl<'map> IntoModePerformance<'map, Taiko> for TaikoDifficultyAttributes

source§

impl<'map> IntoModePerformance<'map, Taiko> for TaikoPerformanceAttributes

Auto Trait Implementations§

§

impl Freeze for Taiko

§

impl RefUnwindSafe for Taiko

§

impl Send for Taiko

§

impl Sync for Taiko

§

impl Unpin for Taiko

§

impl UnwindSafe for Taiko

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.