Struct rosu_pp::catch::CatchPerformanceAttributes
source · pub struct CatchPerformanceAttributes {
pub difficulty: CatchDifficultyAttributes,
pub pp: f64,
}
Expand description
The result of a performance calculation on an osu!catch map.
Fields§
§difficulty: CatchDifficultyAttributes
The difficulty attributes that were used for the performance calculation
pp: f64
The 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 copy 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>
source§impl PartialEq for CatchPerformanceAttributes
impl PartialEq for CatchPerformanceAttributes
source§fn eq(&self, other: &CatchPerformanceAttributes) -> bool
fn eq(&self, other: &CatchPerformanceAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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