Struct rosu_pp::osu::OsuPerformanceAttributes
source · pub struct OsuPerformanceAttributes {
pub difficulty: OsuDifficultyAttributes,
pub pp: f64,
pub pp_acc: f64,
pub pp_aim: f64,
pub pp_flashlight: f64,
pub pp_speed: f64,
pub effective_miss_count: f64,
}
Expand description
The result of a performance calculation on an osu!standard map.
Fields§
§difficulty: OsuDifficultyAttributes
The difficulty attributes that were used for the performance calculation
pp: f64
The final performance points.
pp_acc: f64
The accuracy portion of the final pp.
pp_aim: f64
The aim portion of the final pp.
pp_flashlight: f64
The flashlight portion of the final pp.
pp_speed: f64
The speed portion of the final pp.
effective_miss_count: f64
Misses including an approximated amount of slider breaks
Implementations§
source§impl OsuPerformanceAttributes
impl OsuPerformanceAttributes
sourcepub fn performance<'a>(self) -> OsuPerformance<'a>
pub fn performance<'a>(self) -> OsuPerformance<'a>
Returns a builder for performance calculation.
Trait Implementations§
source§impl Clone for OsuPerformanceAttributes
impl Clone for OsuPerformanceAttributes
source§fn clone(&self) -> OsuPerformanceAttributes
fn clone(&self) -> OsuPerformanceAttributes
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 OsuPerformanceAttributes
impl Debug for OsuPerformanceAttributes
source§impl Default for OsuPerformanceAttributes
impl Default for OsuPerformanceAttributes
source§fn default() -> OsuPerformanceAttributes
fn default() -> OsuPerformanceAttributes
Returns the “default value” for a type. Read more
source§impl From<OsuPerformanceAttributes> for OsuDifficultyAttributes
impl From<OsuPerformanceAttributes> for OsuDifficultyAttributes
source§fn from(attributes: OsuPerformanceAttributes) -> Self
fn from(attributes: OsuPerformanceAttributes) -> Self
Converts to this type from the input type.
source§impl<'map> IntoModePerformance<'map, Osu> for OsuPerformanceAttributes
impl<'map> IntoModePerformance<'map, Osu> for OsuPerformanceAttributes
fn into_performance(self) -> <Osu as IGameMode>::Performance<'map>
source§impl<'a> IntoPerformance<'a> for OsuPerformanceAttributes
impl<'a> IntoPerformance<'a> for OsuPerformanceAttributes
fn into_performance(self) -> Performance<'a>
source§impl PartialEq for OsuPerformanceAttributes
impl PartialEq for OsuPerformanceAttributes
source§fn eq(&self, other: &OsuPerformanceAttributes) -> bool
fn eq(&self, other: &OsuPerformanceAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OsuPerformanceAttributes
Auto Trait Implementations§
impl Freeze for OsuPerformanceAttributes
impl RefUnwindSafe for OsuPerformanceAttributes
impl Send for OsuPerformanceAttributes
impl Sync for OsuPerformanceAttributes
impl Unpin for OsuPerformanceAttributes
impl UnwindSafe for OsuPerformanceAttributes
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