Struct rosu_pp::mania::ManiaScoreState
source · pub struct ManiaScoreState {
pub n320: u32,
pub n300: u32,
pub n200: u32,
pub n100: u32,
pub n50: u32,
pub misses: u32,
}
Expand description
Aggregation for a score’s current state.
Fields§
§n320: u32
Amount of current 320s.
n300: u32
Amount of current 300s.
n200: u32
Amount of current 200s.
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 ManiaScoreState
impl Clone for ManiaScoreState
source§fn clone(&self) -> ManiaScoreState
fn clone(&self) -> ManiaScoreState
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 ManiaScoreState
impl Debug for ManiaScoreState
source§impl Default for ManiaScoreState
impl Default for ManiaScoreState
source§impl From<ManiaScoreState> for ScoreState
impl From<ManiaScoreState> for ScoreState
source§fn from(state: ManiaScoreState) -> Self
fn from(state: ManiaScoreState) -> Self
Converts to this type from the input type.
source§impl From<ScoreState> for ManiaScoreState
impl From<ScoreState> for ManiaScoreState
source§fn from(state: ScoreState) -> Self
fn from(state: ScoreState) -> Self
Converts to this type from the input type.
source§impl PartialEq for ManiaScoreState
impl PartialEq for ManiaScoreState
source§fn eq(&self, other: &ManiaScoreState) -> bool
fn eq(&self, other: &ManiaScoreState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ManiaScoreState
impl StructuralPartialEq for ManiaScoreState
Auto Trait Implementations§
impl Freeze for ManiaScoreState
impl RefUnwindSafe for ManiaScoreState
impl Send for ManiaScoreState
impl Sync for ManiaScoreState
impl Unpin for ManiaScoreState
impl UnwindSafe for ManiaScoreState
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