pub struct CatchHitResults {
pub fruits: u32,
pub droplets: u32,
pub tiny_droplets: u32,
pub tiny_droplet_misses: u32,
pub misses: u32,
}Expand description
osu!catch hitresults.
Fields§
§fruits: u32Amount of current fruits (300s).
droplets: u32Amount of current droplets (100s).
tiny_droplets: u32Amount of current tiny droplets (50s).
tiny_droplet_misses: u32Amount of current tiny droplet misses (katus).
misses: u32Amount of current misses (fruits and droplets).
Implementations§
Source§impl CatchHitResults
impl CatchHitResults
Sourcepub const fn total_hits(&self) -> u32
pub const fn total_hits(&self) -> u32
Return the total amount of hits by adding everything up.
Sourcepub const fn total_successful_hits(&self) -> u32
pub const fn total_successful_hits(&self) -> u32
Return the total amount of successful hits by adding up fruits, droplets, and tiny droplets.
Trait Implementations§
Source§impl Clone for CatchHitResults
impl Clone for CatchHitResults
Source§fn clone(&self) -> CatchHitResults
fn clone(&self) -> CatchHitResults
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 CatchHitResults
impl Debug for CatchHitResults
Source§impl Default for CatchHitResults
impl Default for CatchHitResults
Source§impl PartialEq for CatchHitResults
impl PartialEq for CatchHitResults
impl Copy for CatchHitResults
impl Eq for CatchHitResults
impl StructuralPartialEq for CatchHitResults
Auto Trait Implementations§
impl Freeze for CatchHitResults
impl RefUnwindSafe for CatchHitResults
impl Send for CatchHitResults
impl Sync for CatchHitResults
impl Unpin for CatchHitResults
impl UnsafeUnpin for CatchHitResults
impl UnwindSafe for CatchHitResults
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