Enum rosu_pp::DifficultyAttributes[][src]

pub enum DifficultyAttributes {
    Fruits(FruitsDifficultyAttributes),
    Mania(ManiaDifficultyAttributes),
    Osu(OsuDifficultyAttributes),
    Taiko(TaikoDifficultyAttributes),
}
Expand description

The result of a difficulty calculation based on the mode.

Variants

Fruits(FruitsDifficultyAttributes)

osu!ctb difficulty calculation reseult.

Mania(ManiaDifficultyAttributes)

osu!mania difficulty calculation reseult.

Osu(OsuDifficultyAttributes)

Tuple Fields

osu!standard difficulty calculation reseult.

Taiko(TaikoDifficultyAttributes)

osu!taiko difficulty calculation reseult.

Implementations

The star value.

The maximum combo of the map.

This will only be None for attributes of osu!mania maps.

Trait Implementations

Provide the actual difficulty attributes.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Provide the actual difficulty attributes.

Provide the star rating (only difficulty attribute for osu!mania).

Provide the actual difficulty attributes.

Provide the actual difficulty attributes.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.