Struct rosu_pp::osu::OsuScoreState
source · pub struct OsuScoreState {
pub max_combo: u32,
pub n300: u32,
pub n100: u32,
pub n50: 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.
n300: u32
Amount of current 300s.
n100: u32
Amount of current 100s.
n50: u32
Amount of current 50s.
misses: u32
Amount of current misses.
Implementations§
Trait Implementations§
source§impl Clone for OsuScoreState
impl Clone for OsuScoreState
source§fn clone(&self) -> OsuScoreState
fn clone(&self) -> OsuScoreState
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 OsuScoreState
impl Debug for OsuScoreState
source§impl Default for OsuScoreState
impl Default for OsuScoreState
source§impl From<OsuScoreState> for ScoreState
impl From<OsuScoreState> for ScoreState
source§fn from(state: OsuScoreState) -> Self
fn from(state: OsuScoreState) -> Self
Converts to this type from the input type.
source§impl From<ScoreState> for OsuScoreState
impl From<ScoreState> for OsuScoreState
source§fn from(state: ScoreState) -> Self
fn from(state: ScoreState) -> Self
Converts to this type from the input type.
source§impl PartialEq for OsuScoreState
impl PartialEq for OsuScoreState
source§fn eq(&self, other: &OsuScoreState) -> bool
fn eq(&self, other: &OsuScoreState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OsuScoreState
impl Eq for OsuScoreState
impl StructuralPartialEq for OsuScoreState
Auto Trait Implementations§
impl Freeze for OsuScoreState
impl RefUnwindSafe for OsuScoreState
impl Send for OsuScoreState
impl Sync for OsuScoreState
impl Unpin for OsuScoreState
impl UnwindSafe for OsuScoreState
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