[][src]Struct libosu::Difficulty

pub struct Difficulty {
    pub hp_drain_rate: f32,
    pub circle_size: f32,
    pub overall_difficulty: f32,
    pub approach_rate: f32,
    pub slider_multiplier: f32,
}

Difficulty settings defined by the map.

Fields

hp_drain_rate: f32

HP Drain Rate

The wiki doesn't have a solid definition of this field yet.

circle_size: f32

Circle Size

This is a value between 0 and 10 representing how big circles should appear on screen. The radius in osu!pixels is defined by the formula 32 * (1 - 0.7 * (CircleSize - 5) / 5), alternatively written 54.4 - 4.48 * CircleSize.

In osu!mania, this actually defines the number of columns (keys).

overall_difficulty: f32

Overall Difficulty

approach_rate: f32

Approach Rate

slider_multiplier: f32

Slider Multiplier

Trait Implementations

impl Debug for Difficulty[src]

impl Default for Difficulty[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.