pub struct LegacyScoreStatistics {
pub count_geki: u32,
pub count_katu: u32,
pub count_300: u32,
pub count_100: u32,
pub count_50: u32,
pub count_miss: u32,
}Fields§
§count_geki: u32§count_katu: u32§count_300: u32§count_100: u32§count_50: u32§count_miss: u32Implementations§
Source§impl LegacyScoreStatistics
impl LegacyScoreStatistics
Sourcepub fn total_hits(&self, mode: GameMode) -> u32
pub fn total_hits(&self, mode: GameMode) -> u32
Count all hitobjects of the score i.e. for GameMode::Osu the amount 300s, 100s, 50s, and misses.
Note: Includes tiny droplet (misses) for GameMode::Catch
Trait Implementations§
Source§impl Clone for LegacyScoreStatistics
impl Clone for LegacyScoreStatistics
Source§fn clone(&self) -> LegacyScoreStatistics
fn clone(&self) -> LegacyScoreStatistics
Returns a duplicate 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 LegacyScoreStatistics
impl Debug for LegacyScoreStatistics
Source§impl Default for LegacyScoreStatistics
impl Default for LegacyScoreStatistics
Source§fn default() -> LegacyScoreStatistics
fn default() -> LegacyScoreStatistics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LegacyScoreStatistics
impl<'de> Deserialize<'de> for LegacyScoreStatistics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LegacyScoreStatistics
impl PartialEq for LegacyScoreStatistics
Source§impl Serialize for LegacyScoreStatistics
impl Serialize for LegacyScoreStatistics
impl Eq for LegacyScoreStatistics
impl StructuralPartialEq for LegacyScoreStatistics
Auto Trait Implementations§
impl Freeze for LegacyScoreStatistics
impl RefUnwindSafe for LegacyScoreStatistics
impl Send for LegacyScoreStatistics
impl Sync for LegacyScoreStatistics
impl Unpin for LegacyScoreStatistics
impl UnwindSafe for LegacyScoreStatistics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.