Struct rosu_pp::ScoreState [−][src]
pub struct ScoreState {
pub max_combo: usize,
pub n_katu: usize,
pub n300: usize,
pub n100: usize,
pub n50: usize,
pub misses: usize,
pub score: u32,
}
Expand description
Aggregation for a score’s current state i.e. what is the maximum combo so far, what are the current hitresults and what is the current score.
This struct is used for GradualPerformanceAttributes
.
Fields
max_combo: usize
Maximum combo that the score has had so far. Not the maximum possible combo of the map so far.
Note that for osu!ctb only fruits and droplets are considered for combo.
Irrelevant for osu!mania.
n_katu: usize
Amount of current katus (tiny droplet misses for osu!ctb).
Only relevant for osu!ctb.
n300: usize
Amount of current 300s (fruits for osu!ctb).
Irrelevant for osu!mania.
n100: usize
Amount of current 100s (droplets for osu!ctb).
Irrelevant for osu!mania.
n50: usize
Amount of current 50s (tiny droplets for osu!ctb).
Irrelevant for osu!taiko and osu!mania.
misses: usize
Amount of current misses (fruits + droplets for osu!ctb).
Irrelevant for osu!mania.
score: u32
The current score.
Only relevant for osu!mania.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ScoreState
impl Send for ScoreState
impl Sync for ScoreState
impl Unpin for ScoreState
impl UnwindSafe for ScoreState
Blanket Implementations
Mutably borrows from an owned value. Read more