pub struct InspectOsuPerformance<'a> {
pub attrs: &'a OsuDifficultyAttributes,
pub difficulty: &'a Difficulty,
pub acc: Option<f64>,
pub combo: Option<u32>,
pub large_tick_hits: Option<u32>,
pub small_tick_hits: Option<u32>,
pub slider_end_hits: Option<u32>,
pub n300: Option<u32>,
pub n100: Option<u32>,
pub n50: Option<u32>,
pub misses: Option<u32>,
pub hitresult_priority: HitResultPriority,
}Expand description
Inspectable OsuPerformance to expose all of its internal details.
Fields§
§attrs: &'a OsuDifficultyAttributes§difficulty: &'a Difficulty§acc: Option<f64>§combo: Option<u32>§large_tick_hits: Option<u32>§small_tick_hits: Option<u32>§slider_end_hits: Option<u32>§n300: Option<u32>§n100: Option<u32>§n50: Option<u32>§misses: Option<u32>§hitresult_priority: HitResultPriorityImplementations§
Source§impl InspectOsuPerformance<'_>
impl InspectOsuPerformance<'_>
pub fn total_hits(&self) -> u32
pub fn misses(&self) -> u32
pub fn lazer(&self) -> bool
pub fn using_classic_slider_acc(&self) -> bool
pub fn origin(&self) -> OsuScoreOrigin
Trait Implementations§
Source§impl<'a> Clone for InspectOsuPerformance<'a>
impl<'a> Clone for InspectOsuPerformance<'a>
Source§fn clone(&self) -> InspectOsuPerformance<'a>
fn clone(&self) -> InspectOsuPerformance<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for InspectOsuPerformance<'a>
impl<'a> RefUnwindSafe for InspectOsuPerformance<'a>
impl<'a> Send for InspectOsuPerformance<'a>
impl<'a> Sync for InspectOsuPerformance<'a>
impl<'a> Unpin for InspectOsuPerformance<'a>
impl<'a> UnsafeUnpin for InspectOsuPerformance<'a>
impl<'a> UnwindSafe for InspectOsuPerformance<'a>
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