pub struct InspectManiaPerformance<'a> {
pub attrs: &'a ManiaDifficultyAttributes,
pub difficulty: &'a Difficulty,
pub n320: Option<u32>,
pub n300: Option<u32>,
pub n200: Option<u32>,
pub n100: Option<u32>,
pub n50: Option<u32>,
pub misses: Option<u32>,
pub acc: Option<f64>,
pub hitresult_priority: HitResultPriority,
}Expand description
Inspectable ManiaPerformance to expose all of its internal details.
Fields§
§attrs: &'a ManiaDifficultyAttributes§difficulty: &'a Difficulty§n320: Option<u32>§n300: Option<u32>§n200: Option<u32>§n100: Option<u32>§n50: Option<u32>§misses: Option<u32>§acc: Option<f64>§hitresult_priority: HitResultPriorityImplementations§
Source§impl InspectManiaPerformance<'_>
impl InspectManiaPerformance<'_>
pub fn total_hits(&self) -> u32
pub fn misses(&self) -> u32
pub fn is_classic(&self) -> bool
Trait Implementations§
Source§impl<'a> Clone for InspectManiaPerformance<'a>
impl<'a> Clone for InspectManiaPerformance<'a>
Source§fn clone(&self) -> InspectManiaPerformance<'a>
fn clone(&self) -> InspectManiaPerformance<'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 InspectManiaPerformance<'a>
impl<'a> RefUnwindSafe for InspectManiaPerformance<'a>
impl<'a> Send for InspectManiaPerformance<'a>
impl<'a> Sync for InspectManiaPerformance<'a>
impl<'a> Unpin for InspectManiaPerformance<'a>
impl<'a> UnsafeUnpin for InspectManiaPerformance<'a>
impl<'a> UnwindSafe for InspectManiaPerformance<'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