Struct rosu_pp::osu::OsuDifficultyAttributes
source · pub struct OsuDifficultyAttributes {}
Expand description
The result of a difficulty calculation on an osu!standard map.
Fields§
§aim: f64
The difficulty of the aim skill.
speed: f64
The difficulty of the speed skill.
flashlight: f64
The difficulty of the flashlight skill.
slider_factor: f64
The ratio of the aim strain with and without considering sliders
speed_note_count: f64
The number of clickable objects weighted by difficulty.
ar: f64
The approach rate.
od: f64
The overall difficulty
hp: f64
The health drain rate.
n_circles: u32
The amount of circles.
n_sliders: u32
The amount of sliders.
n_spinners: u32
The amount of spinners.
stars: f64
The final star rating
max_combo: u32
The maximum combo.
Implementations§
source§impl OsuDifficultyAttributes
impl OsuDifficultyAttributes
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 OsuDifficultyAttributes
impl Clone for OsuDifficultyAttributes
source§fn clone(&self) -> OsuDifficultyAttributes
fn clone(&self) -> OsuDifficultyAttributes
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 OsuDifficultyAttributes
impl Debug for OsuDifficultyAttributes
source§impl Default for OsuDifficultyAttributes
impl Default for OsuDifficultyAttributes
source§fn default() -> OsuDifficultyAttributes
fn default() -> OsuDifficultyAttributes
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 OsuDifficultyAttributes
impl<'map> IntoModePerformance<'map, Osu> for OsuDifficultyAttributes
fn into_performance(self) -> <Osu as IGameMode>::Performance<'map>
source§impl<'a> IntoPerformance<'a> for OsuDifficultyAttributes
impl<'a> IntoPerformance<'a> for OsuDifficultyAttributes
fn into_performance(self) -> Performance<'a>
source§impl PartialEq for OsuDifficultyAttributes
impl PartialEq for OsuDifficultyAttributes
source§fn eq(&self, other: &OsuDifficultyAttributes) -> bool
fn eq(&self, other: &OsuDifficultyAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OsuDifficultyAttributes
Auto Trait Implementations§
impl Freeze for OsuDifficultyAttributes
impl RefUnwindSafe for OsuDifficultyAttributes
impl Send for OsuDifficultyAttributes
impl Sync for OsuDifficultyAttributes
impl Unpin for OsuDifficultyAttributes
impl UnwindSafe for OsuDifficultyAttributes
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