pub struct CatchPerformanceAttributes {
pub difficulty: CatchDifficultyAttributes,
pub pp: f64,
}Expand description
The result of a performance calculation on an osu!catch map.
Fields§
§difficulty: CatchDifficultyAttributesThe difficulty attributes that were used for the performance calculation
pp: f64The final performance points.
Implementations§
Source§impl CatchPerformanceAttributes
impl CatchPerformanceAttributes
Sourcepub const fn is_convert(&self) -> bool
pub const fn is_convert(&self) -> bool
Whether the Beatmap was a convert i.e. an osu!standard map.
Sourcepub fn performance<'a>(self) -> CatchPerformance<'a>
pub fn performance<'a>(self) -> CatchPerformance<'a>
Returns a builder for performance calculation.
Trait Implementations§
Source§impl Clone for CatchPerformanceAttributes
impl Clone for CatchPerformanceAttributes
Source§fn clone(&self) -> CatchPerformanceAttributes
fn clone(&self) -> CatchPerformanceAttributes
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 CatchPerformanceAttributes
impl Debug for CatchPerformanceAttributes
Source§impl Default for CatchPerformanceAttributes
impl Default for CatchPerformanceAttributes
Source§fn default() -> CatchPerformanceAttributes
fn default() -> CatchPerformanceAttributes
Returns the “default value” for a type. Read more
Source§impl From<CatchPerformanceAttributes> for CatchDifficultyAttributes
impl From<CatchPerformanceAttributes> for CatchDifficultyAttributes
Source§fn from(attributes: CatchPerformanceAttributes) -> Self
fn from(attributes: CatchPerformanceAttributes) -> Self
Converts to this type from the input type.
Source§impl<'map> IntoModePerformance<'map, Catch> for CatchPerformanceAttributes
impl<'map> IntoModePerformance<'map, Catch> for CatchPerformanceAttributes
fn into_performance(self) -> <Catch as IGameMode>::Performance<'map>
Source§impl<'a> IntoPerformance<'a> for CatchPerformanceAttributes
impl<'a> IntoPerformance<'a> for CatchPerformanceAttributes
fn into_performance(self) -> Performance<'a>
impl StructuralPartialEq for CatchPerformanceAttributes
Auto Trait Implementations§
impl Freeze for CatchPerformanceAttributes
impl RefUnwindSafe for CatchPerformanceAttributes
impl Send for CatchPerformanceAttributes
impl Sync for CatchPerformanceAttributes
impl Unpin for CatchPerformanceAttributes
impl UnwindSafe for CatchPerformanceAttributes
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