Struct rosu_pp::catch::CatchScoreState
source · pub struct CatchScoreState {
pub max_combo: u32,
pub fruits: u32,
pub droplets: u32,
pub tiny_droplets: u32,
pub tiny_droplet_misses: u32,
pub misses: u32,
}
Expand description
Aggregation for a score’s current state.
Fields§
§max_combo: u32
Maximum combo that the score has had so far. Not the maximum possible combo of the map so far.
Note that only fruits and droplets are considered for osu!catch combo.
fruits: u32
Amount of current fruits (300s).
droplets: u32
Amount of current droplets (100s).
tiny_droplets: u32
Amount of current tiny droplets (50s).
tiny_droplet_misses: u32
Amount of current tiny droplet misses (katus).
misses: u32
Amount of current misses (fruits and droplets).
Implementations§
Trait Implementations§
source§impl Clone for CatchScoreState
impl Clone for CatchScoreState
source§fn clone(&self) -> CatchScoreState
fn clone(&self) -> CatchScoreState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CatchScoreState
impl Debug for CatchScoreState
source§impl Default for CatchScoreState
impl Default for CatchScoreState
source§impl From<CatchScoreState> for ScoreState
impl From<CatchScoreState> for ScoreState
source§fn from(state: CatchScoreState) -> Self
fn from(state: CatchScoreState) -> Self
Converts to this type from the input type.
source§impl From<ScoreState> for CatchScoreState
impl From<ScoreState> for CatchScoreState
source§fn from(state: ScoreState) -> Self
fn from(state: ScoreState) -> Self
Converts to this type from the input type.
source§impl PartialEq for CatchScoreState
impl PartialEq for CatchScoreState
source§fn eq(&self, other: &CatchScoreState) -> bool
fn eq(&self, other: &CatchScoreState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CatchScoreState
impl StructuralPartialEq for CatchScoreState
Auto Trait Implementations§
impl Freeze for CatchScoreState
impl RefUnwindSafe for CatchScoreState
impl Send for CatchScoreState
impl Sync for CatchScoreState
impl Unpin for CatchScoreState
impl UnwindSafe for CatchScoreState
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more