Struct rosu_pp::mania::Mania

source ·
pub struct Mania;
Expand description

Marker type for GameMode::Mania.

Trait Implementations§

source§

impl IGameMode for Mania

§

type DifficultyAttributes = ManiaDifficultyAttributes

The resulting type of a difficulty calculation.
§

type Strains = ManiaStrains

The resulting type of a strain calculation.
§

type Performance<'map> = ManiaPerformance<'map>

The type of a performance calculator.
§

type GradualDifficulty = ManiaGradualDifficulty

The type of a gradual difficulty calculator.
§

type GradualPerformance = ManiaGradualPerformance

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: &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

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

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

Create a performance calculator for a Converted beatmap.
source§

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

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

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

source§

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

source§

impl<'map> IntoModePerformance<'map, Mania> for ManiaDifficultyAttributes

source§

impl<'map> IntoModePerformance<'map, Mania> for ManiaPerformanceAttributes

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> 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.