Struct rosu_pp::osu::OsuDifficultyAttributes[][src]

pub struct OsuDifficultyAttributes {
    pub aim_strain: f64,
    pub speed_strain: f64,
    pub flashlight_rating: f64,
    pub slider_factor: f64,
    pub ar: f64,
    pub od: f64,
    pub hp: f64,
    pub n_circles: usize,
    pub n_sliders: usize,
    pub n_spinners: usize,
    pub stars: f64,
    pub max_combo: usize,
}
Expand description

The result of a difficulty calculation on an osu!standard map.

Fields

aim_strain: f64

The aim portion of the total strain.

speed_strain: f64

The speed portion of the total strain.

flashlight_rating: f64

The flashlight portion of the total strain.

slider_factor: f64

The ratio of the aim strain with and without considering sliders

ar: f64

The approach rate.

od: f64

The overall difficulty

hp: f64

The health drain rate.

n_circles: usize

The amount of circles.

n_sliders: usize

The amount of sliders.

n_spinners: usize

The amount of spinners.

stars: f64

The final star rating

max_combo: usize

The maximum combo.

Implementations

Return the maximum combo.

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

Returns the “default value” for a type. Read more

Performs the conversion.

Performs the conversion.

Provide the actual difficulty attributes.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.